public static final class ProtocolDefinitionTrait.Builder extends AbstractTraitBuilder<ProtocolDefinitionTrait,ProtocolDefinitionTrait.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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) |
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public ProtocolDefinitionTrait build()
SmithyBuilder
public ProtocolDefinitionTrait.Builder traits(java.util.List<ShapeId> traits)
public ProtocolDefinitionTrait.Builder addTrait(ShapeId trait)
public ProtocolDefinitionTrait.Builder noInlineDocumentSupport(boolean noInlineDocumentSupport)