@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 the service was able to create a subscription immediately (without requiring
endpoint owner confirmation).
|
int |
hashCode() |
void |
setSubscriptionArn(String subscriptionArn)
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring
endpoint owner confirmation).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SubscribeResult |
withSubscriptionArn(String subscriptionArn)
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring
endpoint owner confirmation).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSubscriptionArn(String subscriptionArn)
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
subscriptionArn
- The ARN of the subscription, if the service was able to create a subscription immediately (without
requiring endpoint owner confirmation).public String getSubscriptionArn()
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
public SubscribeResult withSubscriptionArn(String subscriptionArn)
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
subscriptionArn
- The ARN of the subscription, if the service was able to create a subscription immediately (without
requiring endpoint owner confirmation).public String toString()
toString
in class Object
Object.toString()
public SubscribeResult clone()
Copyright © 2017. All rights reserved.