Interface CampaignAssetLayout.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CampaignAssetLayout.Builder,,CampaignAssetLayout> SdkBuilder<CampaignAssetLayout.Builder,,CampaignAssetLayout> SdkPojo
- Enclosing class:
CampaignAssetLayout
@Mutable
@NotThreadSafe
public static interface CampaignAssetLayout.Builder
extends SdkPojo, CopyableBuilder<CampaignAssetLayout.Builder,CampaignAssetLayout>
-
Method Summary
Modifier and TypeMethodDescriptionoptions(Collection<CampaignAssetLayoutOption> options) Every option the asset was created with, in authored order.options(Consumer<CampaignAssetLayoutOption.Builder>... options) Every option the asset was created with, in authored order.options(CampaignAssetLayoutOption... options) Every option the asset was created with, in authored order.The selected option's 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
-
selected
The selected option's value. An asset is created with its first option selected; an asset created before that rule, with none stored, reports and activates its first option.
- Parameters:
selected- The selected option's value. An asset is created with its first option selected; an asset created before that rule, with none stored, reports and activates its first option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Every option the asset was created with, in authored order.
- Parameters:
options- Every option the asset was created with, in authored order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Every option the asset was created with, in authored order.
- Parameters:
options- Every option the asset was created with, in authored order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Every option the asset was created with, in authored order.
This is a convenience method that creates an instance of theCampaignAssetLayoutOption.Builderavoiding the need to create one manually viaCampaignAssetLayoutOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptions(List<CampaignAssetLayoutOption>).- Parameters:
options- a consumer that will call methods onCampaignAssetLayoutOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-