public static final class HttpResponseTestCase.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
B |
appliesTo(AppliesTo appliesTo) |
B |
authScheme(ShapeId authScheme) |
B |
body(java.lang.String body) |
B |
bodyMediaType(java.lang.String bodyMediaType) |
HttpResponseTestCase |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
HttpResponseTestCase.Builder |
code(java.lang.Integer code) |
B |
documentation(java.lang.String documentation) |
B |
forbidHeaders(java.util.List<java.lang.String> forbidHeaders) |
B |
headers(java.util.Map<java.lang.String,java.lang.String> headers) |
B |
id(java.lang.String id) |
B |
params(ObjectNode params) |
B |
protocol(ShapeId protocol) |
B |
putHeader(java.lang.String key,
java.lang.String value) |
B |
requireHeaders(java.util.List<java.lang.String> requireHeaders) |
B |
tags(java.util.List<java.lang.String> tags) |
B |
vendorParams(ObjectNode vendorParams) |
B |
vendorParamsShape(ShapeId vendorParamsShape) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public HttpResponseTestCase.Builder code(java.lang.Integer code)
public HttpResponseTestCase build()
SmithyBuilder
public B id(java.lang.String id)
public B documentation(java.lang.String documentation)
public B protocol(ShapeId protocol)
public B authScheme(ShapeId authScheme)
public B body(java.lang.String body)
public B bodyMediaType(java.lang.String bodyMediaType)
public B params(ObjectNode params)
public B vendorParamsShape(ShapeId vendorParamsShape)
public B vendorParams(ObjectNode vendorParams)
public B headers(java.util.Map<java.lang.String,java.lang.String> headers)
public B putHeader(java.lang.String key, java.lang.String value)
public B forbidHeaders(java.util.List<java.lang.String> forbidHeaders)
public B requireHeaders(java.util.List<java.lang.String> requireHeaders)
public B tags(java.util.List<java.lang.String> tags)
public B appliesTo(AppliesTo appliesTo)