Interface CampaignAssetLayoutOption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CampaignAssetLayoutOption.Builder,,CampaignAssetLayoutOption> SdkBuilder<CampaignAssetLayoutOption.Builder,,CampaignAssetLayoutOption> SdkPojo
- Enclosing class:
CampaignAssetLayoutOption
@Mutable
@NotThreadSafe
public static interface CampaignAssetLayoutOption.Builder
extends SdkPojo, CopyableBuilder<CampaignAssetLayoutOption.Builder,CampaignAssetLayoutOption>
-
Method Summary
Modifier and TypeMethodDescriptionThe fields this option uses: the FieldValues that stay in scope when it is selected.fieldIds(Collection<String> fieldIds) The fields this option uses: the FieldValues that stay in scope when it is selected.Display label.layoutPreviews(Collection<LayoutPreview> layoutPreviews) This option's pages, in page order.layoutPreviews(Consumer<LayoutPreview.Builder>... layoutPreviews) This option's pages, in page order.layoutPreviews(LayoutPreview... layoutPreviews) This option's pages, in page order.The value that selects this option.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
-
value
The value that selects this option.
- Parameters:
value- The value that selects this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
Display label.
- Parameters:
label- Display label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldIds
The fields this option uses: the FieldValues that stay in scope when it is selected. Lets a client show an option's form before selecting it.
- Parameters:
fieldIds- The fields this option uses: the FieldValues that stay in scope when it is selected. Lets a client show an option's form before selecting it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldIds
The fields this option uses: the FieldValues that stay in scope when it is selected. Lets a client show an option's form before selecting it.
- Parameters:
fieldIds- The fields this option uses: the FieldValues that stay in scope when it is selected. Lets a client show an option's form before selecting it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layoutPreviews
This option's pages, in page order.
- Parameters:
layoutPreviews- This option's pages, in page order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layoutPreviews
This option's pages, in page order.
- Parameters:
layoutPreviews- This option's pages, in page order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layoutPreviews
This option's pages, in page order.
This is a convenience method that creates an instance of theLayoutPreview.Builderavoiding the need to create one manually viaLayoutPreview.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolayoutPreviews(List<LayoutPreview>).- Parameters:
layoutPreviews- a consumer that will call methods onLayoutPreview.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-