Interface Variant.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Variant.Builder,Variant>,SdkBuilder<Variant.Builder,Variant>,SdkPojo
- Enclosing class:
- Variant
public static interface Variant.Builder extends SdkPojo, CopyableBuilder<Variant.Builder,Variant>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Variant.BuilderbooleanValue(Boolean booleanValue)Asset property data of type Boolean (true or false).Variant.BuilderdoubleValue(Double doubleValue)Asset property data of type double (floating point number).Variant.BuilderintegerValue(Integer integerValue)Asset property data of type integer (whole number).default Variant.BuildernullValue(Consumer<PropertyValueNullValue.Builder> nullValue)The type of null asset property data with BAD and UNCERTAIN qualities.Variant.BuildernullValue(PropertyValueNullValue nullValue)The type of null asset property data with BAD and UNCERTAIN qualities.Variant.BuilderstringValue(String stringValue)Asset property data of type string (sequence of characters).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
stringValue
Variant.Builder stringValue(String stringValue)
Asset property data of type string (sequence of characters). The allowed pattern: "^$|[^ -]+". The max length is 1024.
- Parameters:
stringValue- Asset property data of type string (sequence of characters). The allowed pattern: "^$|[^ -]+". The max length is 1024.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integerValue
Variant.Builder integerValue(Integer integerValue)
Asset property data of type integer (whole number).
- Parameters:
integerValue- Asset property data of type integer (whole number).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
doubleValue
Variant.Builder doubleValue(Double doubleValue)
Asset property data of type double (floating point number). The min value is -10^10. The max value is 10^10. Double.NaN is allowed.
- Parameters:
doubleValue- Asset property data of type double (floating point number). The min value is -10^10. The max value is 10^10. Double.NaN is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
booleanValue
Variant.Builder booleanValue(Boolean booleanValue)
Asset property data of type Boolean (true or false).
- Parameters:
booleanValue- Asset property data of type Boolean (true or false).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nullValue
Variant.Builder nullValue(PropertyValueNullValue nullValue)
The type of null asset property data with BAD and UNCERTAIN qualities.
- Parameters:
nullValue- The type of null asset property data with BAD and UNCERTAIN qualities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nullValue
default Variant.Builder nullValue(Consumer<PropertyValueNullValue.Builder> nullValue)
The type of null asset property data with BAD and UNCERTAIN qualities.
This is a convenience method that creates an instance of thePropertyValueNullValue.Builderavoiding the need to create one manually viaPropertyValueNullValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonullValue(PropertyValueNullValue).- Parameters:
nullValue- a consumer that will call methods onPropertyValueNullValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
nullValue(PropertyValueNullValue)
-
-