Interface ListRecoveryPointsByBackupVaultResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListRecoveryPointsByBackupVaultResponse.Builder,,ListRecoveryPointsByBackupVaultResponse> SdkBuilder<ListRecoveryPointsByBackupVaultResponse.Builder,,ListRecoveryPointsByBackupVaultResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRecoveryPointsByBackupVaultResponse
@Mutable
@NotThreadSafe
public static interface ListRecoveryPointsByBackupVaultResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListRecoveryPointsByBackupVaultResponse.Builder,ListRecoveryPointsByBackupVaultResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe next item following a partial list of returned items.recoveryPoints(Collection<RecoveryPointByBackupVault> recoveryPoints) An array of objects that contain detailed information about recovery points saved in a backup vault.recoveryPoints(Consumer<RecoveryPointByBackupVault.Builder>... recoveryPoints) An array of objects that contain detailed information about recovery points saved in a backup vault.recoveryPoints(RecoveryPointByBackupVault... recoveryPoints) An array of objects that contain detailed information about recovery points saved in a backup vault.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.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
-
nextToken
The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Parameters:
nextToken- The next item following a partial list of returned items. For example, if a request is made to returnMaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPoints
ListRecoveryPointsByBackupVaultResponse.Builder recoveryPoints(Collection<RecoveryPointByBackupVault> recoveryPoints) An array of objects that contain detailed information about recovery points saved in a backup vault.
- Parameters:
recoveryPoints- An array of objects that contain detailed information about recovery points saved in a backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPoints
ListRecoveryPointsByBackupVaultResponse.Builder recoveryPoints(RecoveryPointByBackupVault... recoveryPoints) An array of objects that contain detailed information about recovery points saved in a backup vault.
- Parameters:
recoveryPoints- An array of objects that contain detailed information about recovery points saved in a backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPoints
ListRecoveryPointsByBackupVaultResponse.Builder recoveryPoints(Consumer<RecoveryPointByBackupVault.Builder>... recoveryPoints) An array of objects that contain detailed information about recovery points saved in a backup vault.
This is a convenience method that creates an instance of theRecoveryPointByBackupVault.Builderavoiding the need to create one manually viaRecoveryPointByBackupVault.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecoveryPoints(List<RecoveryPointByBackupVault>).- Parameters:
recoveryPoints- a consumer that will call methods onRecoveryPointByBackupVault.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-