Interface CampaignAssetFieldValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CampaignAssetFieldValue.Builder,,CampaignAssetFieldValue> SdkBuilder<CampaignAssetFieldValue.Builder,,CampaignAssetFieldValue> SdkPojo
- Enclosing class:
CampaignAssetFieldValue
@Mutable
@NotThreadSafe
public static interface CampaignAssetFieldValue.Builder
extends SdkPojo, CopyableBuilder<CampaignAssetFieldValue.Builder,CampaignAssetFieldValue>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CampaignAssetFieldValue.BuilderThe field schema (snapshot from the template).field(CampaignAssetTemplateField field) The field schema (snapshot from the template).default CampaignAssetFieldValue.Buildervalue(Consumer<TemplateFieldValue.Builder> value) The field's current value; the variant matches the field's type.value(TemplateFieldValue value) The field's current value; the variant matches the field's type.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
-
field
The field schema (snapshot from the template).
- Parameters:
field- The field schema (snapshot from the template).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
field
The field schema (snapshot from the template).
This is a convenience method that creates an instance of theCampaignAssetTemplateField.Builderavoiding the need to create one manually viaCampaignAssetTemplateField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofield(CampaignAssetTemplateField).- Parameters:
field- a consumer that will call methods onCampaignAssetTemplateField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
The field's current value; the variant matches the field's type.
- Parameters:
value- The field's current value; the variant matches the field's type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The field's current value; the variant matches the field's type.
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:
-