Class IdRefTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<IdRefTrait,IdRefTrait.Builder>
software.amazon.smithy.model.traits.IdRefTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<IdRefTrait>
- Enclosing class:
- IdRefTrait
public static final class IdRefTrait.Builder
extends AbstractTraitBuilder<IdRefTrait,IdRefTrait.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.errorMessage
(String errorMessage) failWhenMissing
(boolean failWhenMissing) Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
failWhenMissing
-
selector
-
errorMessage
-
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
-