Class ReferencesTrait.Reference
java.lang.Object
software.amazon.smithy.model.traits.ReferencesTrait.Reference
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<ReferencesTrait.Reference>
- Enclosing class:
- ReferencesTrait
public static final class ReferencesTrait.Reference
extends Object
implements ToSmithyBuilder<ReferencesTrait.Reference>, ToNode
Reference to a resource.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder to create aReferencesTrait.Reference
. -
Method Summary
-
Method Details
-
builder
-
toBuilder
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<ReferencesTrait.Reference>
- Returns:
- a builder for type T
-
getResource
Get the referenced shape.- Returns:
- Returns the referenced shape.
-
getService
Get the service binding.- Returns:
- Returns the optionally referenced service.
-
getIds
- Returns:
- Returns the immutable mapping of member names to resource identifier name.
-
getRel
- Returns:
- Gets the optional rel property.
-
toString
-
equals
-
hashCode
public int hashCode() -
toNode
Description copied from interface:ToNode
Converts a value to aNode
.
-