Interface Backup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Backup.Builder,Backup>,SdkBuilder<Backup.Builder,Backup>,SdkPojo
- Enclosing class:
- Backup
public static interface Backup.Builder extends SdkPojo, CopyableBuilder<Backup.Builder,Backup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Backup.BuilderbackupArn(String backupArn)The Amazon Resource Name (ARN) of the backup.Backup.BuilderbackupId(String backupId)The identifier (ID) of the backup.Backup.BuilderbackupState(String backupState)The state of the backup.Backup.BuilderbackupState(BackupState backupState)The state of the backup.Backup.BuilderclusterId(String clusterId)The identifier (ID) of the cluster that was backed up.Backup.BuildercopyTimestamp(Instant copyTimestamp)The date and time when the backup was copied from a source backup.Backup.BuildercreateTimestamp(Instant createTimestamp)The date and time when the backup was created.Backup.BuilderdeleteTimestamp(Instant deleteTimestamp)The date and time when the backup will be permanently deleted.Backup.BuilderhsmType(String hsmType)The HSM type used to create the backup.Backup.Buildermode(String mode)The mode of the cluster that was backed up.Backup.Buildermode(ClusterMode mode)The mode of the cluster that was backed up.Backup.BuilderneverExpires(Boolean neverExpires)Specifies whether the service should exempt a backup from the retention policy for the cluster.Backup.BuildersourceBackup(String sourceBackup)The identifier (ID) of the source backup from which the new backup was copied.Backup.BuildersourceCluster(String sourceCluster)The identifier (ID) of the cluster containing the source backup from which the new backup was copied.Backup.BuildersourceRegion(String sourceRegion)The AWS Region that contains the source backup from which the new backup was copied.Backup.BuildertagList(Collection<Tag> tagList)The list of tags for the backup.Backup.BuildertagList(Consumer<Tag.Builder>... tagList)The list of tags for the backup.Backup.BuildertagList(Tag... tagList)The list of tags for the backup.-
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
-
-
-
-
Method Detail
-
backupId
Backup.Builder backupId(String backupId)
The identifier (ID) of the backup.
- Parameters:
backupId- The identifier (ID) of the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupArn
Backup.Builder backupArn(String backupArn)
The Amazon Resource Name (ARN) of the backup.
- Parameters:
backupArn- The Amazon Resource Name (ARN) of the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupState
Backup.Builder backupState(String backupState)
The state of the backup.
- Parameters:
backupState- The state of the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BackupState,BackupState
-
backupState
Backup.Builder backupState(BackupState backupState)
The state of the backup.
- Parameters:
backupState- The state of the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BackupState,BackupState
-
clusterId
Backup.Builder clusterId(String clusterId)
The identifier (ID) of the cluster that was backed up.
- Parameters:
clusterId- The identifier (ID) of the cluster that was backed up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTimestamp
Backup.Builder createTimestamp(Instant createTimestamp)
The date and time when the backup was created.
- Parameters:
createTimestamp- The date and time when the backup was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTimestamp
Backup.Builder copyTimestamp(Instant copyTimestamp)
The date and time when the backup was copied from a source backup.
- Parameters:
copyTimestamp- The date and time when the backup was copied from a source backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neverExpires
Backup.Builder neverExpires(Boolean neverExpires)
Specifies whether the service should exempt a backup from the retention policy for the cluster.
Trueexempts a backup from the retention policy.Falsemeans the service applies the backup retention policy defined at the cluster.- Parameters:
neverExpires- Specifies whether the service should exempt a backup from the retention policy for the cluster.Trueexempts a backup from the retention policy.Falsemeans the service applies the backup retention policy defined at the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRegion
Backup.Builder sourceRegion(String sourceRegion)
The AWS Region that contains the source backup from which the new backup was copied.
- Parameters:
sourceRegion- The AWS Region that contains the source backup from which the new backup was copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBackup
Backup.Builder sourceBackup(String sourceBackup)
The identifier (ID) of the source backup from which the new backup was copied.
- Parameters:
sourceBackup- The identifier (ID) of the source backup from which the new backup was copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCluster
Backup.Builder sourceCluster(String sourceCluster)
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
- Parameters:
sourceCluster- The identifier (ID) of the cluster containing the source backup from which the new backup was copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteTimestamp
Backup.Builder deleteTimestamp(Instant deleteTimestamp)
The date and time when the backup will be permanently deleted.
- Parameters:
deleteTimestamp- The date and time when the backup will be permanently deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Backup.Builder tagList(Collection<Tag> tagList)
The list of tags for the backup.
- Parameters:
tagList- The list of tags for the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Backup.Builder tagList(Tag... tagList)
The list of tags for the backup.
- Parameters:
tagList- The list of tags for the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagList(List.) - Parameters:
tagList- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagList(java.util.Collection)
-
hsmType
Backup.Builder hsmType(String hsmType)
The HSM type used to create the backup.
- Parameters:
hsmType- The HSM type used to create the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
Backup.Builder mode(String mode)
The mode of the cluster that was backed up.
- Parameters:
mode- The mode of the cluster that was backed up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterMode,ClusterMode
-
mode
Backup.Builder mode(ClusterMode mode)
The mode of the cluster that was backed up.
- Parameters:
mode- The mode of the cluster that was backed up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterMode,ClusterMode
-
-