Class HttpMalformedResponseBodyDefinition
java.lang.Object
software.amazon.smithy.protocoltests.traits.HttpMalformedResponseBodyDefinition
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<HttpMalformedResponseBodyDefinition>
public final class HttpMalformedResponseBodyDefinition
extends Object
implements ToNode, ToSmithyBuilder<HttpMalformedResponseBodyDefinition>
Defines the response expected by an HttpMalformedRequest test case.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder used to create a HttpMalformedResponseBodyDefinition. -
Method Summary
-
Method Details
-
getContents
-
getMediaType
-
getMessageRegex
-
fromNode
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
. -
toBuilder
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<HttpMalformedResponseBodyDefinition>
- Returns:
- a builder for type T
-
builder
-