Interface ListCloudVmClustersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCloudVmClustersResponse.Builder,
,ListCloudVmClustersResponse> OdbResponse.Builder
,SdkBuilder<ListCloudVmClustersResponse.Builder,
,ListCloudVmClustersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCloudVmClustersResponse
@Mutable
@NotThreadSafe
public static interface ListCloudVmClustersResponse.Builder
extends OdbResponse.Builder, SdkPojo, CopyableBuilder<ListCloudVmClustersResponse.Builder,ListCloudVmClustersResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncloudVmClusters
(Collection<CloudVmClusterSummary> cloudVmClusters) The list of VM clusters along with their properties.cloudVmClusters
(Consumer<CloudVmClusterSummary.Builder>... cloudVmClusters) The list of VM clusters along with their properties.cloudVmClusters
(CloudVmClusterSummary... cloudVmClusters) The list of VM clusters along with their properties.The token to include in another request to get the next page of items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.odb.model.OdbResponse.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
-
nextToken
The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudVmClusters
ListCloudVmClustersResponse.Builder cloudVmClusters(Collection<CloudVmClusterSummary> cloudVmClusters) The list of VM clusters along with their properties.
- Parameters:
cloudVmClusters
- The list of VM clusters along with their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudVmClusters
The list of VM clusters along with their properties.
- Parameters:
cloudVmClusters
- The list of VM clusters along with their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudVmClusters
ListCloudVmClustersResponse.Builder cloudVmClusters(Consumer<CloudVmClusterSummary.Builder>... cloudVmClusters) The list of VM clusters along with their properties.
This is a convenience method that creates an instance of theCloudVmClusterSummary.Builder
avoiding the need to create one manually viaCloudVmClusterSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudVmClusters(List<CloudVmClusterSummary>)
.- Parameters:
cloudVmClusters
- a consumer that will call methods onCloudVmClusterSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-