public final class ProtocolDefinitionTrait extends AbstractTrait implements ToSmithyBuilder<ProtocolDefinitionTrait>
Modifier and Type | Class and Description |
---|---|
static class |
ProtocolDefinitionTrait.Builder |
static class |
ProtocolDefinitionTrait.Provider |
Constructor and Description |
---|
ProtocolDefinitionTrait(ProtocolDefinitionTrait.Builder builder) |
Modifier and Type | Method and Description |
---|---|
static ProtocolDefinitionTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
boolean |
getNoInlineDocumentSupport()
Checks if this protocol does not support inline documents.
|
java.util.List<ShapeId> |
getTraits()
Gets the list of shape IDs that protocol implementations must know about
in order to successfully utilize the protocol.
|
ProtocolDefinitionTrait.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public ProtocolDefinitionTrait(ProtocolDefinitionTrait.Builder builder)
public java.util.List<ShapeId> getTraits()
public boolean getNoInlineDocumentSupport()
public static ProtocolDefinitionTrait.Builder builder()
protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait
public ProtocolDefinitionTrait.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<ProtocolDefinitionTrait>