public final class HttpMalformedResponseDefinition extends java.lang.Object implements ToNode, ToSmithyBuilder<HttpMalformedResponseDefinition>
Modifier and Type | Class and Description |
---|---|
static class |
HttpMalformedResponseDefinition.Builder
Builder used to create a HttpMalformedResponseDefinition.
|
Modifier and Type | Method and Description |
---|---|
static HttpMalformedResponseDefinition.Builder |
builder() |
static HttpMalformedResponseDefinition |
fromNode(Node node) |
java.util.Optional<HttpMalformedResponseBodyDefinition> |
getBody() |
int |
getCode() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
HttpMalformedResponseDefinition.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
Node |
toNode()
Converts a value to a
Node . |
public java.util.Optional<HttpMalformedResponseBodyDefinition> getBody()
public int getCode()
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
public static HttpMalformedResponseDefinition fromNode(Node node)
public HttpMalformedResponseDefinition.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<HttpMalformedResponseDefinition>
public static HttpMalformedResponseDefinition.Builder builder()