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