com.amazonaws.services.sns.model

## クラス UnsubscribeRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.sns.model.UnsubscribeRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class UnsubscribeRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `Unsubscribe operation`.

  The `Unsubscribe` action deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the its topic's owner can unsubscribe, and an AWS signature is required. If the `Unsubscribe` call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the `Unsubscribe` request was unintended.

  関連項目:
    `AmazonSNS.unsubscribe(UnsubscribeRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `UnsubscribeRequest()` Default constructor for a new UnsubscribeRequest object.
    `UnsubscribeRequest(java.lang.String subscriptionArn)` Constructs a new UnsubscribeRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getSubscriptionArn()` The ARN of the subscription to be deleted.
    `int` | `hashCode()`
    `void` | `setSubscriptionArn(java.lang.String subscriptionArn)` The ARN of the subscription to be deleted.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UnsubscribeRequest` | `withSubscriptionArn(java.lang.String subscriptionArn)` The ARN of the subscription to be deleted.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### UnsubscribeRequest

          public UnsubscribeRequest()

      Default constructor for a new UnsubscribeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### UnsubscribeRequest

          public UnsubscribeRequest(java.lang.String subscriptionArn)

      Constructs a new UnsubscribeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `subscriptionArn` - The ARN of the subscription to be deleted.

  - ### メソッドの詳細

    - #### getSubscriptionArn

          public java.lang.String getSubscriptionArn()

      The ARN of the subscription to be deleted.
      戻り値:
        The ARN of the subscription to be deleted.

    - #### setSubscriptionArn

          public void setSubscriptionArn(java.lang.String subscriptionArn)

      The ARN of the subscription to be deleted.
      パラメータ:
        `subscriptionArn` - The ARN of the subscription to be deleted.

    - #### withSubscriptionArn

          public UnsubscribeRequest withSubscriptionArn(java.lang.String subscriptionArn)

      The ARN of the subscription to be deleted.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `subscriptionArn` - The ARN of the subscription to be deleted.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`