Class ReferencesTrait.Reference.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.ReferencesTrait.Reference.Builder
-
- All Implemented Interfaces:
SmithyBuilder<ReferencesTrait.Reference>
- Enclosing class:
- ReferencesTrait.Reference
public static final class ReferencesTrait.Reference.Builder extends java.lang.Object implements SmithyBuilder<ReferencesTrait.Reference>
Builder to create aReferencesTrait.Reference
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferencesTrait.Reference
build()
Creates an immutable object that is created from the properties that have been set on the builder.ReferencesTrait.Reference.Builder
ids(java.util.Map<java.lang.String,java.lang.String> members)
ReferencesTrait.Reference.Builder
rel(java.lang.String rel)
ReferencesTrait.Reference.Builder
resource(ShapeId resource)
ReferencesTrait.Reference.Builder
service(ShapeId service)
-
-
-
Method Detail
-
build
public ReferencesTrait.Reference build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<ReferencesTrait.Reference>
- Returns:
- an instance of T
-
ids
public ReferencesTrait.Reference.Builder ids(java.util.Map<java.lang.String,java.lang.String> members)
-
resource
public ReferencesTrait.Reference.Builder resource(ShapeId resource)
-
service
public ReferencesTrait.Reference.Builder service(ShapeId service)
-
rel
public ReferencesTrait.Reference.Builder rel(java.lang.String rel)
-
-