Interface GetProductPageResponse.Builder
- All Superinterfaces:
ApiGatewayV2Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetProductPageResponse.Builder,,GetProductPageResponse> SdkBuilder<GetProductPageResponse.Builder,,GetProductPageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetProductPageResponse
@Mutable
@NotThreadSafe
public static interface GetProductPageResponse.Builder
extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<GetProductPageResponse.Builder,GetProductPageResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetProductPageResponse.BuilderdisplayContent(Consumer<DisplayContent.Builder> displayContent) The content of the product page.displayContent(DisplayContent displayContent) The content of the product page.lastModified(Instant lastModified) The timestamp when the product page was last modified.productPageArn(String productPageArn) The ARN of the product page.productPageId(String productPageId) The product page identifier.Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Response.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
-
displayContent
The content of the product page.
- Parameters:
displayContent- The content of the product page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayContent
default GetProductPageResponse.Builder displayContent(Consumer<DisplayContent.Builder> displayContent) The content of the product 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:
-
lastModified
The timestamp when the product page was last modified.
- Parameters:
lastModified- The timestamp when the product page was last modified.- 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.
-
productPageId
The product page identifier.
- Parameters:
productPageId- The product page identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-