public static final class ReferencesTrait.Reference extends java.lang.Object implements ToSmithyBuilder<ReferencesTrait.Reference>, ToNode
Modifier and Type | Class and Description |
---|---|
static class |
ReferencesTrait.Reference.Builder
Builder to create a
ReferencesTrait.Reference . |
Modifier and Type | Method and Description |
---|---|
static ReferencesTrait.Reference.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.String> |
getIds() |
java.util.Optional<java.lang.String> |
getRel() |
ShapeId |
getResource()
Get the referenced shape.
|
java.util.Optional<ShapeId> |
getService()
Get the service binding.
|
int |
hashCode() |
ReferencesTrait.Reference.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
Node |
toNode()
Converts a value to a
Node . |
java.lang.String |
toString() |
public static ReferencesTrait.Reference.Builder builder()
public ReferencesTrait.Reference.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<ReferencesTrait.Reference>
public ShapeId getResource()
public java.util.Optional<ShapeId> getService()
public java.util.Map<java.lang.String,java.lang.String> getIds()
public java.util.Optional<java.lang.String> getRel()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object