Class HttpMalformedResponseDefinition
java.lang.Object
software.amazon.smithy.protocoltests.traits.HttpMalformedResponseDefinition
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<HttpMalformedResponseDefinition>
public final class HttpMalformedResponseDefinition
extends Object
implements ToNode, ToSmithyBuilder<HttpMalformedResponseDefinition>
Defines the response expected by an HttpMalformedRequest test case.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder used to create a HttpMalformedResponseDefinition. -
Method Summary
-
Method Details
-
getBody
-
getCode
public int getCode() -
getHeaders
-
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<HttpMalformedResponseDefinition>
- Returns:
- a builder for type T
-
builder
-