Class AuthDefinitionTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<AuthDefinitionTrait,AuthDefinitionTrait.Builder>
-
- software.amazon.smithy.model.traits.AuthDefinitionTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<AuthDefinitionTrait>
- Enclosing class:
- AuthDefinitionTrait
public static final class AuthDefinitionTrait.Builder extends AbstractTraitBuilder<AuthDefinitionTrait,AuthDefinitionTrait.Builder>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthDefinitionTrait.Builder
addTrait(ShapeId trait)
AuthDefinitionTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.AuthDefinitionTrait.Builder
traits(java.util.List<ShapeId> traits)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public AuthDefinitionTrait 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
-
traits
public AuthDefinitionTrait.Builder traits(java.util.List<ShapeId> traits)
-
addTrait
public AuthDefinitionTrait.Builder addTrait(ShapeId trait)
-
-