Interface DataValue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataValue.Builder,DataValue>,SdkBuilder<DataValue.Builder,DataValue>,SdkPojo
- Enclosing class:
- DataValue
public static interface DataValue.Builder extends SdkPojo, CopyableBuilder<DataValue.Builder,DataValue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataValue.BuilderbooleanValue(Boolean booleanValue)A Boolean value.DataValue.BuilderdoubleValue(Double doubleValue)A double value.DataValue.Builderexpression(String expression)An expression that produces the value.DataValue.BuilderintegerValue(Integer integerValue)An integer value.DataValue.BuilderlistValue(Collection<DataValue> listValue)A list of multiple values.DataValue.BuilderlistValue(Consumer<DataValue.Builder>... listValue)A list of multiple values.DataValue.BuilderlistValue(DataValue... listValue)A list of multiple values.DataValue.BuilderlongValue(Long longValue)A long value.DataValue.BuildermapValue(Map<String,DataValue> mapValue)An object that maps strings to multipleDataValueobjects.default DataValue.BuilderrelationshipValue(Consumer<RelationshipValue.Builder> relationshipValue)A value that relates a component to another component.DataValue.BuilderrelationshipValue(RelationshipValue relationshipValue)A value that relates a component to another component.DataValue.BuilderstringValue(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, sdkFields
-
-
-
-
Method Detail
-
booleanValue
DataValue.Builder booleanValue(Boolean 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
DataValue.Builder doubleValue(Double 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
DataValue.Builder integerValue(Integer 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
DataValue.Builder longValue(Long 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
DataValue.Builder stringValue(String 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
DataValue.Builder listValue(Collection<DataValue> 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
DataValue.Builder listValue(DataValue... 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
DataValue.Builder listValue(Consumer<DataValue.Builder>... listValue)
A list of multiple values.
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 to#listValue(List.) - 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:
#listValue(java.util.Collection)
-
mapValue
DataValue.Builder mapValue(Map<String,DataValue> mapValue)
An object that maps strings to multiple
DataValueobjects.- Parameters:
mapValue- An object that maps strings to multipleDataValueobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationshipValue
DataValue.Builder relationshipValue(RelationshipValue 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
default DataValue.Builder relationshipValue(Consumer<RelationshipValue.Builder> relationshipValue)
A value that relates a component to another component.
This is a convenience method that creates an instance of theRelationshipValue.Builderavoiding the need to create one manually viaRelationshipValue.builder().When the
Consumercompletes,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:
relationshipValue(RelationshipValue)
-
expression
DataValue.Builder expression(String 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.
-
-