@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEventsEventbusDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about Amazon EventBridge event bus. An event bus is a router that receives events and delivers them to zero or more destinations, or targets. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.
Constructor and Description |
---|
AwsEventsEventbusDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEventsEventbusDetails |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
|
String |
getName()
The name of the event bus.
|
String |
getPolicy()
The policy that enables the external account to send events to your account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
|
void |
setName(String name)
The name of the event bus.
|
void |
setPolicy(String policy)
The policy that enables the external account to send events to your account.
|
String |
toString()
Returns a string representation of this object.
|
AwsEventsEventbusDetails |
withArn(String arn)
The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
|
AwsEventsEventbusDetails |
withName(String name)
The name of the event bus.
|
AwsEventsEventbusDetails |
withPolicy(String policy)
The policy that enables the external account to send events to your account.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
arn
- The Amazon Resource Name (ARN) of the account permitted to write events to the current account.public String getArn()
The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
public AwsEventsEventbusDetails withArn(String arn)
The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
arn
- The Amazon Resource Name (ARN) of the account permitted to write events to the current account.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 AwsEventsEventbusDetails withName(String name)
The name of the event bus.
name
- The name of the event bus.public void setPolicy(String policy)
The policy that enables the external account to send events to your account.
policy
- The policy that enables the external account to send events to your account.public String getPolicy()
The policy that enables the external account to send events to your account.
public AwsEventsEventbusDetails withPolicy(String policy)
The policy that enables the external account to send events to your account.
policy
- The policy that enables the external account to send events to your account.public String toString()
toString
in class Object
Object.toString()
public AwsEventsEventbusDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.