Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Attribute |
build()
Builds the configured instance.
|
Attribute.Builder |
name(java.lang.String name)
Sets the value of
Attribute.getName() |
Attribute.Builder |
type(AttributeType type)
Sets the value of
Attribute.getType() |
public Attribute.Builder name(java.lang.String name)
Attribute.getName()
name
- The name of an attribute. This parameter is required.this
public Attribute.Builder type(AttributeType type)
Attribute.getType()
type
- The data type of an attribute. This parameter is required.this