Class DefineConditionKeysTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<DefineConditionKeysTrait,DefineConditionKeysTrait.Builder>
-
- software.amazon.smithy.aws.iam.traits.DefineConditionKeysTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<DefineConditionKeysTrait>
- Enclosing class:
- DefineConditionKeysTrait
public static final class DefineConditionKeysTrait.Builder extends AbstractTraitBuilder<DefineConditionKeysTrait,DefineConditionKeysTrait.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefineConditionKeysTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.DefineConditionKeysTrait.Builder
putConditionKey(java.lang.String name, ConditionKeyDefinition definition)
DefineConditionKeysTrait.Builder
removeConditionKey(java.lang.String name)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public DefineConditionKeysTrait 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
-
putConditionKey
public DefineConditionKeysTrait.Builder putConditionKey(java.lang.String name, ConditionKeyDefinition definition)
-
removeConditionKey
public DefineConditionKeysTrait.Builder removeConditionKey(java.lang.String name)
-
-