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 Details

    • 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.
    • 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

      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:
    • 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. True exempts a backup from the retention policy. False means 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. True exempts a backup from the retention policy. False means 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 the Tag.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<Tag>).

      Parameters:
      tagList - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: