Interface CreateProductPageRequest.Builder
- All Superinterfaces:
ApiPortalRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateProductPageRequest.Builder,,CreateProductPageRequest> SdkBuilder<CreateProductPageRequest.Builder,,CreateProductPageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProductPageRequest
@Mutable
@NotThreadSafe
public static interface CreateProductPageRequest.Builder
extends ApiPortalRequest.Builder, SdkPojo, CopyableBuilder<CreateProductPageRequest.Builder,CreateProductPageRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateProductPageRequest.BuilderdisplayContent(Consumer<DisplayContent.Builder> displayContent) The title and body of the page.displayContent(DisplayContent displayContent) The title and body of the page.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the product.Sets the value of the Tags property for this object.Methods inherited from interface software.amazon.awssdk.services.apiportal.model.ApiPortalRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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
-
productId
The identifier of the product.
- Parameters:
productId- The identifier of the product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayContent
The title and body of the page.
- Parameters:
displayContent- The title and body of the page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayContent
default CreateProductPageRequest.Builder displayContent(Consumer<DisplayContent.Builder> displayContent) The title and body of the page.
This is a convenience method that creates an instance of theDisplayContent.Builderavoiding the need to create one manually viaDisplayContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisplayContent(DisplayContent).- Parameters:
displayContent- a consumer that will call methods onDisplayContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProductPageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProductPageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-