public final class DefineConditionKeysTrait extends AbstractTrait implements ToSmithyBuilder<DefineConditionKeysTrait>
Modifier and Type | Class and Description |
---|---|
static class |
DefineConditionKeysTrait.Builder |
static class |
DefineConditionKeysTrait.Provider |
Modifier and Type | Method and Description |
---|---|
static DefineConditionKeysTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
java.util.Optional<ConditionKeyDefinition> |
getConditionKey(java.lang.String name)
Get a specific condition key by name.
|
java.util.Map<java.lang.String,ConditionKeyDefinition> |
getConditionKeys()
Gets all condition keys of the service.
|
DefineConditionKeysTrait.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 static DefineConditionKeysTrait.Builder builder()
public java.util.Map<java.lang.String,ConditionKeyDefinition> getConditionKeys()
public java.util.Optional<ConditionKeyDefinition> getConditionKey(java.lang.String name)
name
- Name of the condition key to get.protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait
public DefineConditionKeysTrait.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<DefineConditionKeysTrait>