Interface DataType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataType.Builder,,DataType> SdkBuilder<DataType.Builder,,DataType> SdkPojo
- Enclosing class:
- DataType
-
Method Summary
Modifier and TypeMethodDescriptionallowedValues(Collection<DataValue> allowedValues) The allowed values for this data type.allowedValues(Consumer<DataValue.Builder>... allowedValues) The allowed values for this data type.allowedValues(DataValue... allowedValues) The allowed values for this data type.default DataType.BuildernestedType(Consumer<DataType.Builder> nestedType) The nested type in the data type.nestedType(DataType nestedType) The nested type in the data type.default DataType.Builderrelationship(Consumer<Relationship.Builder> relationship) A relationship that associates a component with another component.relationship(Relationship relationship) A relationship that associates a component with another component.The underlying type of the data type.The underlying type of the data type.unitOfMeasure(String unitOfMeasure) The unit of measure used in this data type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The underlying type of the data type.
-
type
The underlying type of the data type.
-
nestedType
The nested type in the data type.
- Parameters:
nestedType- The nested type in the data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nestedType
The nested type in the data type.
This is a convenience method that creates an instance of theDataType.Builderavoiding the need to create one manually viaDataType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonestedType(DataType).- Parameters:
nestedType- a consumer that will call methods onDataType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedValues
The allowed values for this data type.
- Parameters:
allowedValues- The allowed values for this data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
The allowed values for this data type.
- Parameters:
allowedValues- The allowed values for this data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
The allowed values for this data type.
This is a convenience method that creates an instance of theDataValue.Builderavoiding the need to create one manually viaDataValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallowedValues(List<DataValue>).- Parameters:
allowedValues- a consumer that will call methods onDataValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unitOfMeasure
The unit of measure used in this data type.
- Parameters:
unitOfMeasure- The unit of measure used in this data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationship
A relationship that associates a component with another component.
- Parameters:
relationship- A relationship that associates a component with another component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationship
A relationship that associates a component with another component.
This is a convenience method that creates an instance of theRelationship.Builderavoiding the need to create one manually viaRelationship.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torelationship(Relationship).- Parameters:
relationship- a consumer that will call methods onRelationship.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-