Interface CreateLegalHoldResponse.Builder

    • Method Detail

      • title

        CreateLegalHoldResponse.Builder title​(String title)

        This is the string title of the legal hold returned after creating the legal hold.

        Parameters:
        title - This is the string title of the legal hold returned after creating the legal hold.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        CreateLegalHoldResponse.Builder status​(String status)

        This displays the status of the legal hold returned after creating the legal hold. Statuses can be ACTIVE, PENDING, CANCELED, CANCELING, or FAILED.

        Parameters:
        status - This displays the status of the legal hold returned after creating the legal hold. Statuses can be ACTIVE, PENDING, CANCELED, CANCELING, or FAILED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LegalHoldStatus, LegalHoldStatus
      • status

        CreateLegalHoldResponse.Builder status​(LegalHoldStatus status)

        This displays the status of the legal hold returned after creating the legal hold. Statuses can be ACTIVE, PENDING, CANCELED, CANCELING, or FAILED.

        Parameters:
        status - This displays the status of the legal hold returned after creating the legal hold. Statuses can be ACTIVE, PENDING, CANCELED, CANCELING, or FAILED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LegalHoldStatus, LegalHoldStatus
      • description

        CreateLegalHoldResponse.Builder description​(String description)

        This is the returned string description of the legal hold.

        Parameters:
        description - This is the returned string description of the legal hold.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • legalHoldId

        CreateLegalHoldResponse.Builder legalHoldId​(String legalHoldId)

        Legal hold ID returned for the specified legal hold on a recovery point.

        Parameters:
        legalHoldId - Legal hold ID returned for the specified legal hold on a recovery point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • legalHoldArn

        CreateLegalHoldResponse.Builder legalHoldArn​(String legalHoldArn)

        This is the ARN (Amazon Resource Number) of the created legal hold.

        Parameters:
        legalHoldArn - This is the ARN (Amazon Resource Number) of the created legal hold.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        CreateLegalHoldResponse.Builder creationDate​(Instant creationDate)

        Time in number format when legal hold was created.

        Parameters:
        creationDate - Time in number format when legal hold was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recoveryPointSelection

        CreateLegalHoldResponse.Builder recoveryPointSelection​(RecoveryPointSelection recoveryPointSelection)

        This specifies criteria to assign a set of resources, such as resource types or backup vaults.

        Parameters:
        recoveryPointSelection - This specifies criteria to assign a set of resources, such as resource types or backup vaults.
        Returns:
        Returns a reference to this object so that method calls can be chained together.