public static final class HttpTrait.Builder extends AbstractTraitBuilder<HttpTrait,HttpTrait.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HttpTrait |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
HttpTrait.Builder |
code(int code) |
HttpTrait.Builder |
method(java.lang.String method) |
HttpTrait.Builder |
uri(UriPattern uri) |
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public HttpTrait.Builder uri(UriPattern uri)
public HttpTrait.Builder method(java.lang.String method)
public HttpTrait.Builder code(int code)
public HttpTrait build()
SmithyBuilder