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