Interface GetClustersForImageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetClustersForImageResponse.Builder,
,GetClustersForImageResponse> Inspector2Response.Builder
,SdkBuilder<GetClustersForImageResponse.Builder,
,GetClustersForImageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetClustersForImageResponse
@Mutable
@NotThreadSafe
public static interface GetClustersForImageResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<GetClustersForImageResponse.Builder,GetClustersForImageResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncluster
(Collection<ClusterInformation> cluster) A unit of work inside of a cluster, which can include metadata about the cluster.cluster
(Consumer<ClusterInformation.Builder>... cluster) A unit of work inside of a cluster, which can include metadata about the cluster.cluster
(ClusterInformation... cluster) A unit of work inside of a cluster, which can include metadata about the cluster.The pagination token from a previous request used to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
cluster
A unit of work inside of a cluster, which can include metadata about the cluster.
- Parameters:
cluster
- A unit of work inside of a cluster, which can include metadata about the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cluster
A unit of work inside of a cluster, which can include metadata about the cluster.
- Parameters:
cluster
- A unit of work inside of a cluster, which can include metadata about the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cluster
A unit of work inside of a cluster, which can include metadata about the cluster.
This is a convenience method that creates an instance of theClusterInformation.Builder
avoiding the need to create one manually viaClusterInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocluster(List<ClusterInformation>)
.- Parameters:
cluster
- a consumer that will call methods onClusterInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token from a previous request used to retrieve the next page of results.
- Parameters:
nextToken
- The pagination token from a previous request used to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-