Interface ListDisksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupExternalResponse.Builder,Buildable,CopyableBuilder<ListDisksResponse.Builder,,ListDisksResponse> SdkBuilder<ListDisksResponse.Builder,,ListDisksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDisksResponse
@Mutable
@NotThreadSafe
public static interface ListDisksResponse.Builder
extends BackupExternalResponse.Builder, SdkPojo, CopyableBuilder<ListDisksResponse.Builder,ListDisksResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondisks(Collection<ListDisksDiskSummary> disks) The list of disks attached to the appliance node.disks(Consumer<ListDisksDiskSummary.Builder>... disks) The list of disks attached to the appliance node.disks(ListDisksDiskSummary... disks) The list of disks attached to the appliance node.The token to use to retrieve the next page of results.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
-
disks
The list of disks attached to the appliance node.
- Parameters:
disks- The list of disks attached to the appliance node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
The list of disks attached to the appliance node.
- Parameters:
disks- The list of disks attached to the appliance node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
The list of disks attached to the appliance node.
This is a convenience method that creates an instance of theListDisksDiskSummary.Builderavoiding the need to create one manually viaListDisksDiskSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisks(List<ListDisksDiskSummary>).- Parameters:
disks- a consumer that will call methods onListDisksDiskSummary.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.
-