@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEventSubscriptionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateEventSubscriptionResult() |
Modifier and Type | Method and Description |
---|---|
CreateEventSubscriptionResult |
clone() |
boolean |
equals(Object obj) |
EventSubscription |
getEventSubscription()
The event subscription that was created.
|
int |
hashCode() |
void |
setEventSubscription(EventSubscription eventSubscription)
The event subscription that was created.
|
String |
toString()
Returns a string representation of this object.
|
CreateEventSubscriptionResult |
withEventSubscription(EventSubscription eventSubscription)
The event subscription that was created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setEventSubscription(EventSubscription eventSubscription)
The event subscription that was created.
eventSubscription
- The event subscription that was created.public EventSubscription getEventSubscription()
The event subscription that was created.
public CreateEventSubscriptionResult withEventSubscription(EventSubscription eventSubscription)
The event subscription that was created.
eventSubscription
- The event subscription that was created.public String toString()
toString
in class Object
Object.toString()
public CreateEventSubscriptionResult clone()