public final class ArnReferenceTrait extends AbstractTrait implements ToSmithyBuilder<ArnReferenceTrait>
Modifier and Type | Class and Description |
---|---|
static class |
ArnReferenceTrait.Builder
Builder for
ArnReferenceTrait . |
static class |
ArnReferenceTrait.Provider |
Modifier and Type | Method and Description |
---|---|
static ArnReferenceTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
boolean |
equals(java.lang.Object other) |
java.util.Optional<ShapeId> |
getResource()
Get the Smithy resource shape ID of the ARN.
|
java.util.Optional<ShapeId> |
getService()
Get the Smithy service shape ID of the ARN.
|
java.util.Optional<java.lang.String> |
getType()
Get the AWS CloudFormation type of the ARN.
|
int |
hashCode() |
ArnReferenceTrait.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 static ArnReferenceTrait.Builder builder()
public java.util.Optional<java.lang.String> getType()
public java.util.Optional<ShapeId> getResource()
public java.util.Optional<ShapeId> getService()
public ArnReferenceTrait.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<ArnReferenceTrait>
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