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
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods 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
-
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.Builderavoiding the need to create one manually viaClusterInformation.builder().When the
Consumercompletes,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.
-