@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventBus extends Object implements Serializable, Cloneable, StructuredPojo
An event bus receives events from a source, uses rules to evaluate them, applies any configured input transformation, and routes them to the appropriate target(s). Your account's default event bus receives events from Amazon Web Services services. A custom event bus can receive events from your custom applications and services. A partner event bus receives events from an event source created by an SaaS partner. These events come from the partners services or applications.
Constructor and Description |
---|
EventBus() |
Modifier and Type | Method and Description |
---|---|
EventBus |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the event bus.
|
Date |
getCreationTime()
The time the event bus was created.
|
String |
getDescription()
The event bus description.
|
Date |
getLastModifiedTime()
The time the event bus was last modified.
|
String |
getName()
The name of the event bus.
|
String |
getPolicy()
The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to
this event bus.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the event bus.
|
void |
setCreationTime(Date creationTime)
The time the event bus was created.
|
void |
setDescription(String description)
The event bus description.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The time the event bus was last modified.
|
void |
setName(String name)
The name of the event bus.
|
void |
setPolicy(String policy)
The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to
this event bus.
|
String |
toString()
Returns a string representation of this object.
|
EventBus |
withArn(String arn)
The ARN of the event bus.
|
EventBus |
withCreationTime(Date creationTime)
The time the event bus was created.
|
EventBus |
withDescription(String description)
The event bus description.
|
EventBus |
withLastModifiedTime(Date lastModifiedTime)
The time the event bus was last modified.
|
EventBus |
withName(String name)
The name of the event bus.
|
EventBus |
withPolicy(String policy)
The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to
this event bus.
|
public void setName(String name)
The name of the event bus.
name
- The name of the event bus.public String getName()
The name of the event bus.
public EventBus withName(String name)
The name of the event bus.
name
- The name of the event bus.public void setArn(String arn)
The ARN of the event bus.
arn
- The ARN of the event bus.public String getArn()
The ARN of the event bus.
public EventBus withArn(String arn)
The ARN of the event bus.
arn
- The ARN of the event bus.public void setDescription(String description)
The event bus description.
description
- The event bus description.public String getDescription()
The event bus description.
public EventBus withDescription(String description)
The event bus description.
description
- The event bus description.public void setPolicy(String policy)
The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.
policy
- The permissions policy of the event bus, describing which other Amazon Web Services accounts can write
events to this event bus.public String getPolicy()
The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.
public EventBus withPolicy(String policy)
The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.
policy
- The permissions policy of the event bus, describing which other Amazon Web Services accounts can write
events to this event bus.public void setCreationTime(Date creationTime)
The time the event bus was created.
creationTime
- The time the event bus was created.public Date getCreationTime()
The time the event bus was created.
public EventBus withCreationTime(Date creationTime)
The time the event bus was created.
creationTime
- The time the event bus was created.public void setLastModifiedTime(Date lastModifiedTime)
The time the event bus was last modified.
lastModifiedTime
- The time the event bus was last modified.public Date getLastModifiedTime()
The time the event bus was last modified.
public EventBus withLastModifiedTime(Date lastModifiedTime)
The time the event bus was last modified.
lastModifiedTime
- The time the event bus was last modified.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.