@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subscription extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of an event that the application subscribes.
Constructor and Description |
---|
Subscription() |
Modifier and Type | Method and Description |
---|---|
Subscription |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the subscription.
|
String |
getEvent()
The name of the subscription.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description of the subscription.
|
void |
setEvent(String event)
The name of the subscription.
|
String |
toString()
Returns a string representation of this object.
|
Subscription |
withDescription(String description)
The description of the subscription.
|
Subscription |
withEvent(String event)
The name of the subscription.
|
public void setEvent(String event)
The name of the subscription.
event
- The name of the subscription.public String getEvent()
The name of the subscription.
public Subscription withEvent(String event)
The name of the subscription.
event
- The name of the subscription.public void setDescription(String description)
The description of the subscription.
description
- The description of the subscription.public String getDescription()
The description of the subscription.
public Subscription withDescription(String description)
The description of the subscription.
description
- The description of the subscription.public String toString()
toString
in class Object
Object.toString()
public Subscription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.