Interface GetProductResponse.Builder
- All Superinterfaces:
ApiPortalResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetProductResponse.Builder,,GetProductResponse> SdkBuilder<GetProductResponse.Builder,,GetProductResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetProductResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetProductResponse.BuilderapiSelectionConfiguration(Consumer<ApiSelectionConfiguration.Builder> apiSelectionConfiguration) How Managed APIs are selected for the product.apiSelectionConfiguration(ApiSelectionConfiguration apiSelectionConfiguration) How Managed APIs are selected for the product.description(String description) A description of the product, up to 1024 characters.displayName(String displayName) The name of the product, from 1 to 255 characters.default GetProductResponse.BuilderdisplayOrder(Consumer<DisplayOrder.Builder> displayOrder) The order of the product's pages and API page sections in the portal navigation.displayOrder(DisplayOrder displayOrder) The order of the product's pages and API page sections in the portal navigation.failureReason(String failureReason) Sets the value of the FailureReason property for this object.failureReason(ProductFailureReason failureReason) Sets the value of the FailureReason property for this object.productArn(String productArn) The ARN of the product.The identifier of the product.Sets the value of the Status property for this object.status(ProductStatus status) Sets the value of the Status property for this object.Sets the value of the Tags property for this object.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
-
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.
-
productArn
The ARN of the product.
- Parameters:
productArn- The ARN of the product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The name of the product, from 1 to 255 characters.
- Parameters:
displayName- The name of the product, from 1 to 255 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayOrder
The order of the product's pages and API page sections in the portal navigation.
- Parameters:
displayOrder- The order of the product's pages and API page sections in the portal navigation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayOrder
The order of the product's pages and API page sections in the portal navigation.
This is a convenience method that creates an instance of theDisplayOrder.Builderavoiding the need to create one manually viaDisplayOrder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisplayOrder(DisplayOrder).- Parameters:
displayOrder- a consumer that will call methods onDisplayOrder.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the product, up to 1024 characters.
- Parameters:
description- A description of the product, up to 1024 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
apiSelectionConfiguration
GetProductResponse.Builder apiSelectionConfiguration(ApiSelectionConfiguration apiSelectionConfiguration) How Managed APIs are selected for the product.
- Parameters:
apiSelectionConfiguration- How Managed APIs are selected for the product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiSelectionConfiguration
default GetProductResponse.Builder apiSelectionConfiguration(Consumer<ApiSelectionConfiguration.Builder> apiSelectionConfiguration) How Managed APIs are selected for the product.
This is a convenience method that creates an instance of theApiSelectionConfiguration.Builderavoiding the need to create one manually viaApiSelectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiSelectionConfiguration(ApiSelectionConfiguration).- Parameters:
apiSelectionConfiguration- a consumer that will call methods onApiSelectionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
Sets the value of the FailureReason property for this object.- Parameters:
failureReason- The new value for the FailureReason property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
Sets the value of the FailureReason property for this object.- Parameters:
failureReason- The new value for the FailureReason property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-