public final class HttpTrait extends AbstractTrait implements software.amazon.smithy.utils.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() |
getSourceLocation, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
compare
public static final ShapeId ID
public UriPattern getUri()
public java.lang.String getMethod()
public int getCode()
protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait
public static HttpTrait.Builder builder()
public HttpTrait.Builder toBuilder()
toBuilder
in interface software.amazon.smithy.utils.ToSmithyBuilder<HttpTrait>
public boolean equals(java.lang.Object other)
equals
in class AbstractTrait
public int hashCode()
hashCode
in class AbstractTrait