public final class HttpTrait extends AbstractTrait implements ToSmithyBuilder<HttpTrait>
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpTrait.Builder
Builder used to create an Http trait.
|
static class |
HttpTrait.Provider |
| Modifier and Type | Method and Description |
|---|---|
static HttpTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
boolean |
equals(java.lang.Object other) |
int |
getCode() |
java.lang.String |
getMethod() |
UriPattern |
getUri() |
int |
hashCode() |
HttpTrait.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
getSourceLocation, setNodeCache, toNode, toShapeId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitflatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteNamepublic static final ShapeId ID
public UriPattern getUri()
public java.lang.String getMethod()
public int getCode()
protected Node createNode()
AbstractTraitcreateNode in class AbstractTraitpublic static HttpTrait.Builder builder()
public HttpTrait.Builder toBuilder()
ToSmithyBuildertoBuilder in interface ToSmithyBuilder<HttpTrait>public boolean equals(java.lang.Object other)
equals in class AbstractTraitpublic int hashCode()
hashCode in class AbstractTrait