public static final class HttpMalformedResponseDefinition.Builder extends java.lang.Object implements SmithyBuilder<HttpMalformedResponseDefinition>
Modifier and Type | Method and Description |
---|---|
HttpMalformedResponseDefinition.Builder |
body(HttpMalformedResponseBodyDefinition body) |
HttpMalformedResponseDefinition |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
HttpMalformedResponseDefinition.Builder |
code(int code) |
HttpMalformedResponseDefinition.Builder |
headers(java.util.Map<java.lang.String,java.lang.String> headers) |
HttpMalformedResponseDefinition.Builder |
putHeader(java.lang.String key,
java.lang.String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public HttpMalformedResponseDefinition.Builder body(HttpMalformedResponseBodyDefinition body)
public HttpMalformedResponseDefinition.Builder code(int code)
public HttpMalformedResponseDefinition.Builder headers(java.util.Map<java.lang.String,java.lang.String> headers)
public HttpMalformedResponseDefinition.Builder putHeader(java.lang.String key, java.lang.String value)
public HttpMalformedResponseDefinition build()
SmithyBuilder
build
in interface SmithyBuilder<HttpMalformedResponseDefinition>