public static final class HttpRequestTestCase.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) |
HttpRequestTestCase |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
B |
documentation(java.lang.String documentation) |
B |
forbidHeaders(java.util.List<java.lang.String> forbidHeaders) |
HttpRequestTestCase.Builder |
forbidQueryParams(java.util.List<java.lang.String> forbidQueryParams) |
B |
headers(java.util.Map<java.lang.String,java.lang.String> headers) |
HttpRequestTestCase.Builder |
host(java.lang.String host) |
B |
id(java.lang.String id) |
HttpRequestTestCase.Builder |
method(java.lang.String method) |
B |
params(ObjectNode params) |
B |
protocol(ShapeId protocol) |
B |
putHeader(java.lang.String key,
java.lang.String value) |
HttpRequestTestCase.Builder |
queryParams(java.util.List<java.lang.String> queryParams) |
B |
requireHeaders(java.util.List<java.lang.String> requireHeaders) |
HttpRequestTestCase.Builder |
requireQueryParams(java.util.List<java.lang.String> requireQueryParams) |
HttpRequestTestCase.Builder |
resolvedHost(java.lang.String resolvedHost) |
B |
tags(java.util.List<java.lang.String> tags) |
HttpRequestTestCase.Builder |
uri(java.lang.String uri) |
B |
vendorParams(ObjectNode vendorParams) |
B |
vendorParamsShape(ShapeId vendorParamsShape) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public HttpRequestTestCase.Builder method(java.lang.String method)
public HttpRequestTestCase.Builder uri(java.lang.String uri)
public HttpRequestTestCase.Builder host(java.lang.String host)
public HttpRequestTestCase.Builder resolvedHost(java.lang.String resolvedHost)
public HttpRequestTestCase.Builder queryParams(java.util.List<java.lang.String> queryParams)
public HttpRequestTestCase.Builder forbidQueryParams(java.util.List<java.lang.String> forbidQueryParams)
public HttpRequestTestCase.Builder requireQueryParams(java.util.List<java.lang.String> requireQueryParams)
public HttpRequestTestCase 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)