Interface SubscribeResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<SubscribeResponse.Builder,SubscribeResponse>, SdkBuilder<SubscribeResponse.Builder,SubscribeResponse>, SdkPojo, SdkResponse.Builder, SnsResponse.Builder
Enclosing class:
SubscribeResponse

public static interface SubscribeResponse.Builder extends SnsResponse.Builder, SdkPojo, CopyableBuilder<SubscribeResponse.Builder,SubscribeResponse>
  • Method Details

    • subscriptionArn

      SubscribeResponse.Builder subscriptionArn(String subscriptionArn)

      The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires confirmation. However, if the API request parameter ReturnSubscriptionArn is true, then the value is always the subscription ARN, even if the subscription requires confirmation.

      Parameters:
      subscriptionArn - The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires confirmation. However, if the API request parameter ReturnSubscriptionArn is true, then the value is always the subscription ARN, even if the subscription requires confirmation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.