Class 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
    • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)