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
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder to create aReferencesTrait.Reference. - 
Method Summary
 
- 
Method Details
- 
builder
 - 
toBuilder
Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin 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:ToNodeConverts a value to aNode. 
 -