Interface DataValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataValue.Builder,
,DataValue> SdkBuilder<DataValue.Builder,
,DataValue> SdkPojo
- Enclosing class:
DataValue
@Mutable
@NotThreadSafe
public static interface DataValue.Builder
extends SdkPojo, CopyableBuilder<DataValue.Builder,DataValue>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanValue
(Boolean booleanValue) A Boolean value.doubleValue
(Double doubleValue) A double value.expression
(String expression) An expression that produces the value.integerValue
(Integer integerValue) An integer value.listValue
(Collection<DataValue> listValue) A list of multiple values.listValue
(Consumer<DataValue.Builder>... listValue) A list of multiple values.A list of multiple values.A long value.An object that maps strings to multipleDataValue
objects.default DataValue.Builder
relationshipValue
(Consumer<RelationshipValue.Builder> relationshipValue) A value that relates a component to another component.relationshipValue
(RelationshipValue relationshipValue) A value that relates a component to another component.stringValue
(String stringValue) A string value.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
-
booleanValue
A Boolean value.
- Parameters:
booleanValue
- A Boolean value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
doubleValue
A double value.
- Parameters:
doubleValue
- A double value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integerValue
An integer value.
- Parameters:
integerValue
- An integer value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longValue
A long value.
- Parameters:
longValue
- A long value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringValue
A string value.
- Parameters:
stringValue
- A string value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listValue
A list of multiple values.
- Parameters:
listValue
- A list of multiple values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listValue
A list of multiple values.
- Parameters:
listValue
- A list of multiple values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listValue
A list of multiple values.
This is a convenience method that creates an instance of theDataValue.Builder
avoiding the need to create one manually viaDataValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolistValue(List<DataValue>)
.- Parameters:
listValue
- 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:
-
mapValue
An object that maps strings to multiple
DataValue
objects.- Parameters:
mapValue
- An object that maps strings to multipleDataValue
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationshipValue
A value that relates a component to another component.
- Parameters:
relationshipValue
- A value that relates a component to another component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationshipValue
A value that relates a component to another component.
This is a convenience method that creates an instance of theRelationshipValue.Builder
avoiding the need to create one manually viaRelationshipValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torelationshipValue(RelationshipValue)
.- Parameters:
relationshipValue
- a consumer that will call methods onRelationshipValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expression
An expression that produces the value.
- Parameters:
expression
- An expression that produces the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-