Interface ListNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNodesResponse.Builder,
,ListNodesResponse> SdkBuilder<ListNodesResponse.Builder,
,ListNodesResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
ListNodesResponse
@Mutable
@NotThreadSafe
public static interface ListNodesResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListNodesResponse.Builder,ListNodesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use when requesting the next set of items.nodes
(Collection<Node> nodes) A list of managed nodes that match the specified filter criteria.nodes
(Consumer<Node.Builder>... nodes) A list of managed nodes that match the specified filter criteria.A list of managed nodes that match the specified filter criteria.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nodes
A list of managed nodes that match the specified filter criteria.
- Parameters:
nodes
- A list of managed nodes that match the specified filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
A list of managed nodes that match the specified filter criteria.
- Parameters:
nodes
- A list of managed nodes that match the specified filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
A list of managed nodes that match the specified filter criteria.
This is a convenience method that creates an instance of theNode.Builder
avoiding the need to create one manually viaNode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodes(List<Node>)
.- Parameters:
nodes
- a consumer that will call methods onNode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-