Interface CustomContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomContent.Builder,,CustomContent> SdkBuilder<CustomContent.Builder,,CustomContent> SdkPojo
- Enclosing class:
CustomContent
@Mutable
@NotThreadSafe
public static interface CustomContent.Builder
extends SdkPojo, CopyableBuilder<CustomContent.Builder,CustomContent>
-
Method Summary
Modifier and TypeMethodDescriptionfields(Collection<FieldValue> fields) List of field values for theCustomrelated item.fields(Consumer<FieldValue.Builder>... fields) List of field values for theCustomrelated item.fields(FieldValue... fields) List of 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 field values for the
Customrelated item.- Parameters:
fields- List of field values for theCustomrelated item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
List of field values for the
Customrelated item.- Parameters:
fields- List of field values for theCustomrelated item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
List of field values for the
This is a convenience method that creates an instance of theCustomrelated item.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:
-