Interface BatchCreateCampaignAssetResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateCampaignAssetResult.Builder,,BatchCreateCampaignAssetResult> SdkBuilder<BatchCreateCampaignAssetResult.Builder,,BatchCreateCampaignAssetResult> SdkPojo
- Enclosing class:
BatchCreateCampaignAssetResult
@Mutable
@NotThreadSafe
public static interface BatchCreateCampaignAssetResult.Builder
extends SdkPojo, CopyableBuilder<BatchCreateCampaignAssetResult.Builder,BatchCreateCampaignAssetResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe asset's identifier, derived from (CampaignId, SourceAssetTemplateId) rather than minted, so the same entry always resolves to the same id.layout(Consumer<CampaignAssetLayout.Builder> layout) For a multi-layout blueprint, the asset's layout options, so a client can render the first layout picker without reading each asset back.layout(CampaignAssetLayout layout) For a multi-layout blueprint, the asset's layout options, so a client can render the first layout picker without reading each asset back.sourceAssetTemplateId(String sourceAssetTemplateId) The entry's request identifier.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
-
sourceAssetTemplateId
The entry's request identifier.
- Parameters:
sourceAssetTemplateId- The entry's request identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The asset's identifier, derived from (CampaignId, SourceAssetTemplateId) rather than minted, so the same entry always resolves to the same id.
- Parameters:
id- The asset's identifier, derived from (CampaignId, SourceAssetTemplateId) rather than minted, so the same entry always resolves to the same id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layout
For a multi-layout blueprint, the asset's layout options, so a client can render the first layout picker without reading each asset back. Nothing is selected at creation. Absent for a single-layout blueprint.
- Parameters:
layout- For a multi-layout blueprint, the asset's layout options, so a client can render the first layout picker without reading each asset back. Nothing is selected at creation. Absent for a single-layout blueprint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layout
For a multi-layout blueprint, the asset's layout options, so a client can render the first layout picker without reading each asset back. Nothing is selected at creation. Absent for a single-layout blueprint.
This is a convenience method that creates an instance of theCampaignAssetLayout.Builderavoiding the need to create one manually viaCampaignAssetLayout.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolayout(CampaignAssetLayout).- Parameters:
layout- a consumer that will call methods onCampaignAssetLayout.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-