public final class HttpMalformedResponseBodyDefinition extends java.lang.Object implements ToNode, ToSmithyBuilder<HttpMalformedResponseBodyDefinition>
Modifier and Type | Class and Description |
---|---|
static class |
HttpMalformedResponseBodyDefinition.Builder
Builder used to create a HttpMalformedResponseBodyDefinition.
|
Modifier and Type | Method and Description |
---|---|
static HttpMalformedResponseBodyDefinition.Builder |
builder() |
static HttpMalformedResponseBodyDefinition |
fromNode(Node node) |
java.util.Optional<java.lang.String> |
getContents() |
java.lang.String |
getMediaType() |
java.util.Optional<java.lang.String> |
getMessageRegex() |
HttpMalformedResponseBodyDefinition.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<java.lang.String> getContents()
public java.lang.String getMediaType()
public java.util.Optional<java.lang.String> getMessageRegex()
public static HttpMalformedResponseBodyDefinition fromNode(Node node)
public HttpMalformedResponseBodyDefinition.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<HttpMalformedResponseBodyDefinition>
public static HttpMalformedResponseBodyDefinition.Builder builder()