Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Attribute |
build()
Builds the configured instance.
|
Attribute.Builder |
name(String name)
Sets the value of
Attribute.getName() |
Attribute.Builder |
type(AttributeType type)
Sets the value of
Attribute.getType() |
@Stability(value=Stable) public Attribute.Builder name(String name)
Attribute.getName()
name
- The name of an attribute. This parameter is required.this
@Stability(value=Stable) public Attribute.Builder type(AttributeType type)
Attribute.getType()
type
- The data type of an attribute. This parameter is required.this
@Stability(value=Stable) public Attribute build()
build
in interface software.amazon.jsii.Builder<Attribute>
Attribute
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.