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 TypeMethodDescriptionThe field to update; must match a FieldId in the asset's stored schema.default FieldValueInput.Buildervalue(Consumer<TemplateFieldValue.Builder> value) The new value.value(TemplateFieldValue value) The new value.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
-
fieldId
The field to update; must match a FieldId in the asset's stored schema.
- Parameters:
fieldId- The field to update; must match a FieldId in the asset's stored schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The new value. Omit to clear the field.
- Parameters:
value- The new value. Omit to clear the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The new value. Omit to clear the field.
This is a convenience method that creates an instance of theTemplateFieldValue.Builderavoiding the need to create one manually viaTemplateFieldValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(TemplateFieldValue).- Parameters:
value- a consumer that will call methods onTemplateFieldValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-