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