Interface CustomUpdateContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomUpdateContent.Builder,,CustomUpdateContent> SdkBuilder<CustomUpdateContent.Builder,,CustomUpdateContent> SdkPojo
- Enclosing class:
CustomUpdateContent
@Mutable
@NotThreadSafe
public static interface CustomUpdateContent.Builder
extends SdkPojo, CopyableBuilder<CustomUpdateContent.Builder,CustomUpdateContent>
-
Method Summary
Modifier and TypeMethodDescriptionfields(Collection<FieldValue> fields) List of updated field values for theCustomrelated item.fields(Consumer<FieldValue.Builder>... fields) List of updated field values for theCustomrelated item.fields(FieldValue... fields) List of updated field values for theCustomrelated item.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
-
fields
List of updated field values for the
Customrelated item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.- Parameters:
fields- List of updated field values for theCustomrelated item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
List of updated field values for the
Customrelated item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.- Parameters:
fields- List of updated field values for theCustomrelated item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
List of updated field values for the
This is a convenience method that creates an instance of theCustomrelated item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.FieldValue.Builderavoiding the need to create one manually viaFieldValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofields(List<FieldValue>).- Parameters:
fields- a consumer that will call methods onFieldValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-