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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitflatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteNamepublic 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()
ToSmithyBuildertoBuilder in interface ToSmithyBuilder<ArnReferenceTrait>protected Node createNode()
AbstractTraitcreateNode in class AbstractTraitpublic boolean equals(java.lang.Object other)
equals in class AbstractTraitpublic int hashCode()
hashCode in class AbstractTrait