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 the service was able to create a
subscription immediately (without requiring endpoint owner confirmation).
|
int |
hashCode() |
void |
setSubscriptionArn(java.lang.String subscriptionArn)
The ARN of the subscription, if the service was able to create a
subscription immediately (without requiring endpoint owner 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 the service was able to create a
subscription immediately (without requiring endpoint owner confirmation).
|
public java.lang.String getSubscriptionArn()
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
public void setSubscriptionArn(java.lang.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 SubscribeResult withSubscriptionArn(java.lang.String subscriptionArn)
The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
Returns a reference to this object so that method calls can be chained together.
subscriptionArn
- The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.