Interface FieldValueInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FieldValueInput.Builder,,FieldValueInput> SdkBuilder<FieldValueInput.Builder,,FieldValueInput> SdkPojo
- Enclosing class:
FieldValueInput
@Mutable
@NotThreadSafe
public static interface FieldValueInput.Builder
extends SdkPojo, CopyableBuilder<FieldValueInput.Builder,FieldValueInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FieldValueInput.BuilderfieldIdentifier(Consumer<FieldIdentifierUnion.Builder> fieldIdentifier) The field to update, identified by field ID or field name.fieldIdentifier(FieldIdentifierUnion fieldIdentifier) The field to update, identified by field ID or field name.default FieldValueInput.Buildervalue(Consumer<FieldValueUnion.Builder> value) The value to set for the field.value(FieldValueUnion value) The value to set for the field.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fieldIdentifier
The field to update, identified by field ID or field name.
- Parameters:
fieldIdentifier- The field to update, identified by field ID or field name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldIdentifier
default FieldValueInput.Builder fieldIdentifier(Consumer<FieldIdentifierUnion.Builder> fieldIdentifier) The field to update, identified by field ID or field name.
This is a convenience method that creates an instance of theFieldIdentifierUnion.Builderavoiding the need to create one manually viaFieldIdentifierUnion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldIdentifier(FieldIdentifierUnion).- Parameters:
fieldIdentifier- a consumer that will call methods onFieldIdentifierUnion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
The value to set for the field.
- Parameters:
value- The value to set for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value to set for the field.
This is a convenience method that creates an instance of theFieldValueUnion.Builderavoiding the need to create one manually viaFieldValueUnion.builder().When the
Consumercompletes,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:
-