Interface Backup.Builder

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

        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:
        #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