Class ArnReferenceTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<ArnReferenceTrait,ArnReferenceTrait.Builder>
-
- software.amazon.smithy.aws.traits.ArnReferenceTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<ArnReferenceTrait>
- Enclosing class:
- ArnReferenceTrait
public static final class ArnReferenceTrait.Builder extends AbstractTraitBuilder<ArnReferenceTrait,ArnReferenceTrait.Builder>
Builder forArnReferenceTrait
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArnReferenceTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.ArnReferenceTrait.Builder
resource(ShapeId resource)
ArnReferenceTrait.Builder
service(ShapeId service)
ArnReferenceTrait.Builder
type(java.lang.String type)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public ArnReferenceTrait build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
type
public ArnReferenceTrait.Builder type(java.lang.String type)
-
service
public ArnReferenceTrait.Builder service(ShapeId service)
-
resource
public ArnReferenceTrait.Builder resource(ShapeId resource)
-
-