Class EventBus
- java.lang.Object
-
- software.amazon.awssdk.services.eventbridge.model.EventBus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventBus.Builder,EventBus>
@Generated("software.amazon.awssdk:codegen") public final class EventBus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventBus.Builder,EventBus>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventBus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the event bus.static EventBus.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the event bus.Stringpolicy()The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.List<SdkField<?>>sdkFields()static Class<? extends EventBus.Builder>serializableBuilderClass()EventBus.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the event bus.
- Returns:
- The name of the event bus.
-
arn
public final String arn()
The ARN of the event bus.
- Returns:
- The ARN of the event bus.
-
policy
public final String policy()
The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.
- Returns:
- The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.
-
toBuilder
public EventBus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventBus.Builder,EventBus>
-
builder
public static EventBus.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventBus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-