@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNotificationSubscriptionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateNotificationSubscriptionResult() |
Modifier and Type | Method and Description |
---|---|
CreateNotificationSubscriptionResult |
clone() |
boolean |
equals(Object obj) |
Subscription |
getSubscription()
The subscription.
|
int |
hashCode() |
void |
setSubscription(Subscription subscription)
The subscription.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateNotificationSubscriptionResult |
withSubscription(Subscription subscription)
The subscription.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CreateNotificationSubscriptionResult()
public void setSubscription(Subscription subscription)
The subscription.
subscription
- The subscription.public Subscription getSubscription()
The subscription.
public CreateNotificationSubscriptionResult withSubscription(Subscription subscription)
The subscription.
subscription
- The subscription.public String toString()
toString
in class Object
Object.toString()
public CreateNotificationSubscriptionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.