public class SubscribeResult
extends java.lang.Object
implements java.io.Serializable
Response for Subscribe action.
| Constructor and Description |
|---|
SubscribeResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSubscriptionArn()
The ARN of the subscription if it is confirmed, or the string
"pending confirmation" if the subscription requires confirmation.
|
int |
hashCode() |
void |
setSubscriptionArn(java.lang.String subscriptionArn)
The ARN of the subscription if it is confirmed, or the string
"pending confirmation" if the subscription requires confirmation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SubscribeResult |
withSubscriptionArn(java.lang.String subscriptionArn)
The ARN of the subscription if it is confirmed, or the string
"pending confirmation" if the subscription requires confirmation.
|
public java.lang.String getSubscriptionArn()
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.
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.
public void setSubscriptionArn(java.lang.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.
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.
public SubscribeResult withSubscriptionArn(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.