Interface ListComputeNodeGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListComputeNodeGroupsResponse.Builder,ListComputeNodeGroupsResponse>,PcsResponse.Builder,SdkBuilder<ListComputeNodeGroupsResponse.Builder,ListComputeNodeGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListComputeNodeGroupsResponse
public static interface ListComputeNodeGroupsResponse.Builder extends PcsResponse.Builder, SdkPojo, CopyableBuilder<ListComputeNodeGroupsResponse.Builder,ListComputeNodeGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListComputeNodeGroupsResponse.BuildercomputeNodeGroups(Collection<ComputeNodeGroupSummary> computeNodeGroups)The list of compute node groups for the cluster.ListComputeNodeGroupsResponse.BuildercomputeNodeGroups(Consumer<ComputeNodeGroupSummary.Builder>... computeNodeGroups)The list of compute node groups for the cluster.ListComputeNodeGroupsResponse.BuildercomputeNodeGroups(ComputeNodeGroupSummary... computeNodeGroups)The list of compute node groups for the cluster.ListComputeNodeGroupsResponse.BuildernextToken(String nextToken)The value ofnextTokenis a unique pagination token for each page of results returned.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pcs.model.PcsResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
computeNodeGroups
ListComputeNodeGroupsResponse.Builder computeNodeGroups(Collection<ComputeNodeGroupSummary> computeNodeGroups)
The list of compute node groups for the cluster.
- Parameters:
computeNodeGroups- The list of compute node groups for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeNodeGroups
ListComputeNodeGroupsResponse.Builder computeNodeGroups(ComputeNodeGroupSummary... computeNodeGroups)
The list of compute node groups for the cluster.
- Parameters:
computeNodeGroups- The list of compute node groups for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeNodeGroups
ListComputeNodeGroupsResponse.Builder computeNodeGroups(Consumer<ComputeNodeGroupSummary.Builder>... computeNodeGroups)
The list of compute node groups for the cluster.
This is a convenience method that creates an instance of theComputeNodeGroupSummary.Builderavoiding the need to create one manually viaComputeNodeGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#computeNodeGroups(List.) - Parameters:
computeNodeGroups- a consumer that will call methods onComputeNodeGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#computeNodeGroups(java.util.Collection)
-
nextToken
ListComputeNodeGroupsResponse.Builder nextToken(String nextToken)
The value of
nextTokenis a unique pagination token for each page of results returned. IfnextTokenis returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns anHTTP 400 InvalidTokenerror.- Parameters:
nextToken- The value ofnextTokenis a unique pagination token for each page of results returned. IfnextTokenis returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns anHTTP 400 InvalidTokenerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-