Interface UpdateProductPageResponse.Builder
- All Superinterfaces:
ApiPortalResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateProductPageResponse.Builder,,UpdateProductPageResponse> SdkBuilder<UpdateProductPageResponse.Builder,,UpdateProductPageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateProductPageResponse
@Mutable
@NotThreadSafe
public static interface UpdateProductPageResponse.Builder
extends ApiPortalResponse.Builder, SdkPojo, CopyableBuilder<UpdateProductPageResponse.Builder,UpdateProductPageResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondisplayContent(Consumer<DisplayContent.Builder> displayContent) The title and body of the page.displayContent(DisplayContent displayContent) The title and body of the page.productPageArn(String productPageArn) The ARN of the product page.productPageId(String productPageId) The identifier of the product page.When the resource was last updated.Methods inherited from interface software.amazon.awssdk.services.apiportal.model.ApiPortalResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
productPageId
The identifier of the product page.
- Parameters:
productPageId- The identifier of the product page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productPageArn
The ARN of the product page.
- Parameters:
productPageArn- The ARN of the product page.- 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 UpdateProductPageResponse.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:
-
updatedAt
When the resource was last updated.
- Parameters:
updatedAt- When the resource was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-