Interface DescribeProductsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<DescribeProductsResponse.Builder,,DescribeProductsResponse> SdkBuilder<DescribeProductsResponse.Builder,,DescribeProductsResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
 DescribeProductsResponse
public static interface DescribeProductsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<DescribeProductsResponse.Builder,DescribeProductsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to request the next page of results.products(Collection<Product> products) A list of products, including details for each product.products(Consumer<Product.Builder>... products) A list of products, including details for each product.A list of products, including details for each product.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata 
- 
Method Details
- 
products
A list of products, including details for each product.
- Parameters:
 products- A list of products, including details for each product.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
products
A list of products, including details for each product.
- Parameters:
 products- A list of products, including details for each product.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
products
A list of products, including details for each product.
This is a convenience method that creates an instance of theProduct.Builderavoiding the need to create one manually viaProduct.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproducts(List<Product>).- Parameters:
 products- a consumer that will call methods onProduct.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
nextToken
The pagination token to use to request the next page of results.
- Parameters:
 nextToken- The pagination token to use to request the next page of results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -