public static interface Backup.Builder extends SdkPojo, CopyableBuilder<Backup.Builder,Backup>
| Modifier and Type | Method and Description |
|---|---|
Backup.Builder |
backupId(String backupId)
The identifier (ID) of the backup.
|
Backup.Builder |
backupState(BackupState backupState)
The state of the backup.
|
Backup.Builder |
backupState(String backupState)
The state of the backup.
|
Backup.Builder |
clusterId(String clusterId)
The identifier (ID) of the cluster that was backed up.
|
Backup.Builder |
copyTimestamp(Instant copyTimestamp)
The date and time when the backup was copied from a source backup.
|
Backup.Builder |
createTimestamp(Instant createTimestamp)
The date and time when the backup was created.
|
Backup.Builder |
deleteTimestamp(Instant deleteTimestamp)
The date and time when the backup will be permanently deleted.
|
Backup.Builder |
neverExpires(Boolean neverExpires)
Specifies whether the service should exempt a backup from the retention policy for the cluster.
|
Backup.Builder |
sourceBackup(String sourceBackup)
The identifier (ID) of the source backup from which the new backup was copied.
|
Backup.Builder |
sourceCluster(String sourceCluster)
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
|
Backup.Builder |
sourceRegion(String sourceRegion)
The AWS Region that contains the source backup from which the new backup was copied.
|
Backup.Builder |
tagList(Collection<Tag> tagList)
The list of tags for the backup.
|
Backup.Builder |
tagList(Consumer<Tag.Builder>... tagList)
The list of tags for the backup.
|
Backup.Builder |
tagList(Tag... tagList)
The list of tags for the backup.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBackup.Builder backupId(String backupId)
The identifier (ID) of the backup.
backupId - The identifier (ID) of the backup.Backup.Builder backupState(String backupState)
The state of the backup.
backupState - The state of the backup.BackupState,
BackupStateBackup.Builder backupState(BackupState backupState)
The state of the backup.
backupState - The state of the backup.BackupState,
BackupStateBackup.Builder clusterId(String clusterId)
The identifier (ID) of the cluster that was backed up.
clusterId - The identifier (ID) of the cluster that was backed up.Backup.Builder createTimestamp(Instant createTimestamp)
The date and time when the backup was created.
createTimestamp - The date and time when the backup was created.Backup.Builder copyTimestamp(Instant copyTimestamp)
The date and time when the backup was copied from a source backup.
copyTimestamp - The date and time when the backup was copied from a source backup.Backup.Builder neverExpires(Boolean neverExpires)
Specifies whether the service should exempt a backup from the retention policy for the cluster.
True exempts a backup from the retention policy. False means the service applies
the backup retention policy defined at the cluster.
neverExpires - Specifies whether the service should exempt a backup from the retention policy for the cluster.
True exempts a backup from the retention policy. False means the service
applies the backup retention policy defined at the cluster.Backup.Builder sourceRegion(String sourceRegion)
The AWS Region that contains the source backup from which the new backup was copied.
sourceRegion - The AWS Region that contains the source backup from which the new backup was copied.Backup.Builder sourceBackup(String sourceBackup)
The identifier (ID) of the source backup from which the new backup was copied.
sourceBackup - The identifier (ID) of the source backup from which the new backup was copied.Backup.Builder sourceCluster(String sourceCluster)
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
sourceCluster - The identifier (ID) of the cluster containing the source backup from which the new backup was copied.Backup.Builder deleteTimestamp(Instant deleteTimestamp)
The date and time when the backup will be permanently deleted.
deleteTimestamp - The date and time when the backup will be permanently deleted.Backup.Builder tagList(Collection<Tag> tagList)
The list of tags for the backup.
tagList - The list of tags for the backup.Backup.Builder tagList(Tag... tagList)
The list of tags for the backup.
tagList - The list of tags for the backup.Backup.Builder tagList(Consumer<Tag.Builder>... tagList)
The list of tags for the backup.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tagList(List.
tagList - a consumer that will call methods on
Tag.Builder#tagList(java.util.Collection) Copyright © 2023. All rights reserved.