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