Interface ListNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupExternalResponse.Builder,Buildable,CopyableBuilder<ListNodesResponse.Builder,,ListNodesResponse> SdkBuilder<ListNodesResponse.Builder,,ListNodesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNodesResponse
@Mutable
@NotThreadSafe
public static interface ListNodesResponse.Builder
extends BackupExternalResponse.Builder, SdkPojo, CopyableBuilder<ListNodesResponse.Builder,ListNodesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.nodes(Collection<ApplianceNodeListMember> nodes) The list of nodes belonging to the appliance.nodes(Consumer<ApplianceNodeListMember.Builder>... nodes) The list of nodes belonging to the appliance.nodes(ApplianceNodeListMember... nodes) The list of nodes belonging to the appliance.Methods inherited from interface software.amazon.awssdk.services.backupexternal.model.BackupExternalResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
nodes
The list of nodes belonging to the appliance.
- Parameters:
nodes- The list of nodes belonging to the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
The list of nodes belonging to the appliance.
- Parameters:
nodes- The list of nodes belonging to the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
The list of nodes belonging to the appliance.
This is a convenience method that creates an instance of theApplianceNodeListMember.Builderavoiding the need to create one manually viaApplianceNodeListMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodes(List<ApplianceNodeListMember>).- Parameters:
nodes- a consumer that will call methods onApplianceNodeListMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
- Parameters:
nextToken- The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-