Class IdempotentTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<IdempotentTrait,IdempotentTrait.Builder>
software.amazon.smithy.model.traits.IdempotentTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<IdempotentTrait>
- Enclosing class:
- IdempotentTrait
public static final class IdempotentTrait.Builder
extends AbstractTraitBuilder<IdempotentTrait,IdempotentTrait.Builder>
Builder for
IdempotentTrait.-
Method Summary
Modifier and TypeMethodDescriptionaddNotFound(ShapeId value) build()Creates an immutable object that is created from the properties that have been set on the builder.removeExists(ShapeId value) removeNotFound(ShapeId value) Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
exists
-
clearExists
-
addExists
-
removeExists
-
notFound
-
clearNotFound
-
addNotFound
-
removeNotFound
-
build
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-