public static interface DataType.Builder extends SdkPojo, CopyableBuilder<DataType.Builder,DataType>
| Modifier and Type | Method and Description |
|---|---|
DataType.Builder |
allowedValues(Collection<DataValue> allowedValues)
The allowed values for this data type.
|
DataType.Builder |
allowedValues(Consumer<DataValue.Builder>... allowedValues)
The allowed values for this data type.
|
DataType.Builder |
allowedValues(DataValue... allowedValues)
The allowed values for this data type.
|
default DataType.Builder |
nestedType(Consumer<DataType.Builder> nestedType)
The nested type in the data type.
|
DataType.Builder |
nestedType(DataType nestedType)
The nested type in the data type.
|
default DataType.Builder |
relationship(Consumer<Relationship.Builder> relationship)
A relationship that associates a component with another component.
|
DataType.Builder |
relationship(Relationship relationship)
A relationship that associates a component with another component.
|
DataType.Builder |
type(String type)
The underlying type of the data type.
|
DataType.Builder |
type(Type type)
The underlying type of the data type.
|
DataType.Builder |
unitOfMeasure(String unitOfMeasure)
The unit of measure used in this data type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDataType.Builder allowedValues(Collection<DataValue> allowedValues)
The allowed values for this data type.
allowedValues - The allowed values for this data type.DataType.Builder allowedValues(DataValue... allowedValues)
The allowed values for this data type.
allowedValues - The allowed values for this data type.DataType.Builder allowedValues(Consumer<DataValue.Builder>... allowedValues)
The allowed values for this data type.
This is a convenience method that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #allowedValues(List) .allowedValues - a consumer that will call methods on List.Builder #allowedValues(List) DataType.Builder nestedType(DataType nestedType)
The nested type in the data type.
nestedType - The nested type in the data type.default DataType.Builder nestedType(Consumer<DataType.Builder> nestedType)
The nested type in the data type.
This is a convenience method that creates an instance of theDataType.Builder avoiding the need to
create one manually via DataType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to nestedType(DataType).nestedType - a consumer that will call methods on DataType.BuildernestedType(DataType)DataType.Builder relationship(Relationship relationship)
A relationship that associates a component with another component.
relationship - A relationship that associates a component with another component.default DataType.Builder relationship(Consumer<Relationship.Builder> relationship)
A relationship that associates a component with another component.
This is a convenience method that creates an instance of theRelationship.Builder avoiding the need
to create one manually via Relationship.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to relationship(Relationship).relationship - a consumer that will call methods on Relationship.Builderrelationship(Relationship)DataType.Builder type(String type)
The underlying type of the data type.
DataType.Builder type(Type type)
The underlying type of the data type.
DataType.Builder unitOfMeasure(String unitOfMeasure)
The unit of measure used in this data type.
unitOfMeasure - The unit of measure used in this data type.Copyright © 2022. All rights reserved.