Interface Variant.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Variant.Builder,
,Variant> SdkBuilder<Variant.Builder,
,Variant> SdkPojo
- Enclosing class:
Variant
@Mutable
@NotThreadSafe
public static interface Variant.Builder
extends SdkPojo, CopyableBuilder<Variant.Builder,Variant>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanValue
(Boolean booleanValue) Asset property data of type Boolean (true or false).doubleValue
(Double doubleValue) Asset property data of type double (floating point number).integerValue
(Integer integerValue) Asset property data of type integer (whole number).default Variant.Builder
nullValue
(Consumer<PropertyValueNullValue.Builder> nullValue) The type of null asset property data with BAD and UNCERTAIN qualities.nullValue
(PropertyValueNullValue nullValue) The type of null asset property data with BAD and UNCERTAIN qualities.stringValue
(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 Details
-
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
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
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
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
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
The type of null asset property data with BAD and UNCERTAIN qualities.
This is a convenience method that creates an instance of thePropertyValueNullValue.Builder
avoiding the need to create one manually viaPropertyValueNullValue.builder()
.When the
Consumer
completes,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:
-