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