Interface FieldValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FieldValue.Builder,
,FieldValue> SdkBuilder<FieldValue.Builder,
,FieldValue> SdkPojo
- Enclosing class:
FieldValue
public static interface FieldValue.Builder
extends SdkPojo, CopyableBuilder<FieldValue.Builder,FieldValue>
-
Method Summary
Modifier and TypeMethodDescriptionUnique identifier of a field.default FieldValue.Builder
value
(Consumer<FieldValueUnion.Builder> value) Union of potential field value types.value
(FieldValueUnion value) Union of potential field value types.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 Details
-
id
Unique identifier of a field.
- Parameters:
id
- Unique identifier of a field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Union of potential field value types.
- Parameters:
value
- Union of potential field value types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Union of potential field value types.
This is a convenience method that creates an instance of theFieldValueUnion.Builder
avoiding the need to create one manually viaFieldValueUnion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(FieldValueUnion)
.- Parameters:
value
- a consumer that will call methods onFieldValueUnion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-