JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.backup.model

Class CancelLegalHoldRequest

    • Constructor Detail

      • CancelLegalHoldRequest

        public CancelLegalHoldRequest()
    • Method Detail

      • setLegalHoldId

        public void setLegalHoldId(String legalHoldId)

        Legal hold ID required to remove the specified legal hold on a recovery point.

        Parameters:
        legalHoldId - Legal hold ID required to remove the specified legal hold on a recovery point.
      • getLegalHoldId

        public String getLegalHoldId()

        Legal hold ID required to remove the specified legal hold on a recovery point.

        Returns:
        Legal hold ID required to remove the specified legal hold on a recovery point.
      • withLegalHoldId

        public CancelLegalHoldRequest withLegalHoldId(String legalHoldId)

        Legal hold ID required to remove the specified legal hold on a recovery point.

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

        public void setCancelDescription(String cancelDescription)

        String describing the reason for removing the legal hold.

        Parameters:
        cancelDescription - String describing the reason for removing the legal hold.
      • getCancelDescription

        public String getCancelDescription()

        String describing the reason for removing the legal hold.

        Returns:
        String describing the reason for removing the legal hold.
      • withCancelDescription

        public CancelLegalHoldRequest withCancelDescription(String cancelDescription)

        String describing the reason for removing the legal hold.

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

        public void setRetainRecordInDays(Long retainRecordInDays)

        The integer amount in days specifying amount of days after this API operation to remove legal hold.

        Parameters:
        retainRecordInDays - The integer amount in days specifying amount of days after this API operation to remove legal hold.
      • getRetainRecordInDays

        public Long getRetainRecordInDays()

        The integer amount in days specifying amount of days after this API operation to remove legal hold.

        Returns:
        The integer amount in days specifying amount of days after this API operation to remove legal hold.
      • withRetainRecordInDays

        public CancelLegalHoldRequest withRetainRecordInDays(Long retainRecordInDays)

        The integer amount in days specifying amount of days after this API operation to remove legal hold.

        Parameters:
        retainRecordInDays - The integer amount in days specifying amount of days after this API operation to remove legal hold.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /