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