Interface GetLegalHoldResponse.Builder

    • Method Detail

      • title

        GetLegalHoldResponse.Builder title​(String title)

        The title of the legal hold.

        Parameters:
        title - The title of the legal hold.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        GetLegalHoldResponse.Builder description​(String description)

        The description of the legal hold.

        Parameters:
        description - The description of the legal hold.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cancelDescription

        GetLegalHoldResponse.Builder cancelDescription​(String cancelDescription)

        The reason for removing the legal hold.

        Parameters:
        cancelDescription - The reason for removing the legal hold.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • legalHoldId

        GetLegalHoldResponse.Builder legalHoldId​(String legalHoldId)

        The ID of the legal hold.

        Parameters:
        legalHoldId - The ID of the legal hold.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • legalHoldArn

        GetLegalHoldResponse.Builder legalHoldArn​(String legalHoldArn)

        The framework ARN for the specified legal hold. The format of the ARN depends on the resource type.

        Parameters:
        legalHoldArn - The framework ARN for the specified legal hold. The format of the ARN depends on the resource type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        GetLegalHoldResponse.Builder creationDate​(Instant creationDate)

        The time when the legal hold was created.

        Parameters:
        creationDate - The time when the legal hold was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cancellationDate

        GetLegalHoldResponse.Builder cancellationDate​(Instant cancellationDate)

        The time when the legal hold was cancelled.

        Parameters:
        cancellationDate - The time when the legal hold was cancelled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retainRecordUntil

        GetLegalHoldResponse.Builder retainRecordUntil​(Instant retainRecordUntil)

        The date and time until which the legal hold record is retained.

        Parameters:
        retainRecordUntil - The date and time until which the legal hold record is retained.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recoveryPointSelection

        GetLegalHoldResponse.Builder recoveryPointSelection​(RecoveryPointSelection recoveryPointSelection)

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

        Parameters:
        recoveryPointSelection - The 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.