@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubscribeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Response for Subscribe action.
Constructor and Description |
---|
SubscribeResult() |
Modifier and Type | Method and Description |
---|---|
SubscribeResult |
clone() |
boolean |
equals(Object obj) |
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(String subscriptionArn)
The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires
confirmation.
|
String |
toString()
Returns a string representation of this object.
|
SubscribeResult |
withSubscriptionArn(String subscriptionArn)
The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires
confirmation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSubscriptionArn(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 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.
ReturnSubscriptionArn
is true,
then the value is always the subscription ARN, even if the subscription requires confirmation.public SubscribeResult withSubscriptionArn(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 String toString()
toString
in class Object
Object.toString()
public SubscribeResult clone()
Copyright © 2023. All rights reserved.