Interface DisplayOrder.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DisplayOrder.Builder,,DisplayOrder> SdkBuilder<DisplayOrder.Builder,,DisplayOrder> SdkPojo
- Enclosing class:
DisplayOrder
@Mutable
@NotThreadSafe
public static interface DisplayOrder.Builder
extends SdkPojo, CopyableBuilder<DisplayOrder.Builder,DisplayOrder>
-
Method Summary
Modifier and TypeMethodDescriptioncontents(Collection<Section> contents) Sets the value of the Contents property for this object.contents(Consumer<Section.Builder>... contents) Sets the value of the Contents property for this object.Sets the value of the Contents property for this object.overviewPageArn(String overviewPageArn) The ARN of the product page shown as the product overview.productPageArns(String... productPageArns) Sets the value of the ProductPageArns property for this object.productPageArns(Collection<String> productPageArns) Sets the value of the ProductPageArns property for this object.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
-
overviewPageArn
The ARN of the product page shown as the product overview.
- Parameters:
overviewPageArn- The ARN of the product page shown as the product overview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productPageArns
Sets the value of the ProductPageArns property for this object.- Parameters:
productPageArns- The new value for the ProductPageArns property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productPageArns
Sets the value of the ProductPageArns property for this object.- Parameters:
productPageArns- The new value for the ProductPageArns property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contents
Sets the value of the Contents property for this object.- Parameters:
contents- The new value for the Contents property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contents
Sets the value of the Contents property for this object.- Parameters:
contents- The new value for the Contents property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contents
Sets the value of the Contents property for this object. This is a convenience method that creates an instance of theSection.Builderavoiding the need to create one manually viaSection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontents(List<Section>).- Parameters:
contents- a consumer that will call methods onSection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-