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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeProductsResponse.BuildernextToken(String nextToken)The pagination token to use to request the next page of results.DescribeProductsResponse.Builderproducts(Collection<Product> products)A list of products, including details for each product.DescribeProductsResponse.Builderproducts(Consumer<Product.Builder>... products)A list of products, including details for each product.DescribeProductsResponse.Builderproducts(Product... products)A list of products, including details for each product.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
products
DescribeProductsResponse.Builder products(Collection<Product> 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
DescribeProductsResponse.Builder products(Product... 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
DescribeProductsResponse.Builder products(Consumer<Product.Builder>... 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 to#products(List.) - 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:
#products(java.util.Collection)
-
nextToken
DescribeProductsResponse.Builder nextToken(String 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.
-
-