public final class CorsTrait extends AbstractTrait implements ToSmithyBuilder<CorsTrait>
Modifier and Type | Class and Description |
---|---|
static class |
CorsTrait.Builder |
static class |
CorsTrait.Provider |
Modifier and Type | Method and Description |
---|---|
static CorsTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
boolean |
equals(java.lang.Object other) |
java.util.Set<java.lang.String> |
getAdditionalAllowedHeaders() |
java.util.Set<java.lang.String> |
getAdditionalExposedHeaders() |
int |
getMaxAge() |
java.lang.String |
getOrigin() |
int |
hashCode() |
CorsTrait.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
getSourceLocation, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public java.lang.String getOrigin()
public int getMaxAge()
public java.util.Set<java.lang.String> getAdditionalAllowedHeaders()
public java.util.Set<java.lang.String> getAdditionalExposedHeaders()
public CorsTrait.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<CorsTrait>
protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait
public boolean equals(java.lang.Object other)
equals
in class AbstractTrait
public int hashCode()
hashCode
in class AbstractTrait
public static CorsTrait.Builder builder()