public final class ReferencesTrait extends AbstractTrait implements ToSmithyBuilder<ReferencesTrait>
ReferencesTraitValidator| Modifier and Type | Class and Description |
|---|---|
static class |
ReferencesTrait.Builder
Builder use to create the references trait.
|
static class |
ReferencesTrait.Provider |
static class |
ReferencesTrait.Reference
Reference to a resource.
|
| Modifier and Type | Method and Description |
|---|---|
static ReferencesTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
boolean |
equals(java.lang.Object other) |
java.util.List<ReferencesTrait.Reference> |
getReferences()
Gets the references.
|
java.util.List<ReferencesTrait.Reference> |
getResourceReferences(ShapeId shapeId)
Gets a list of all references to a particular shape.
|
int |
hashCode() |
ReferencesTrait.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 java.util.List<ReferencesTrait.Reference> getReferences()
public java.util.List<ReferencesTrait.Reference> getResourceReferences(ShapeId shapeId)
shapeId - Shape ID to search for.protected Node createNode()
AbstractTraitcreateNode in class AbstractTraitpublic ReferencesTrait.Builder toBuilder()
ToSmithyBuildertoBuilder in interface ToSmithyBuilder<ReferencesTrait>public boolean equals(java.lang.Object other)
equals in class AbstractTraitpublic int hashCode()
hashCode in class AbstractTraitpublic static ReferencesTrait.Builder builder()