@Generated(value="software.amazon.awssdk:codegen") public final class EventSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventSource.Builder,EventSource>
[Event-based policies only] Specifies an event that activates an event-based policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventSource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EventSource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
EventParameters |
parameters()
Information about the event.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventSource.Builder> |
serializableBuilderClass() |
EventSource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EventSourceValues |
type()
The source of the event.
|
String |
typeAsString()
The source of the event.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EventSourceValues type()
The source of the event. Currently only managed CloudWatch Events rules are supported.
If the service returns an enum value that is not available in the current SDK version, type will return
EventSourceValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EventSourceValuespublic final String typeAsString()
The source of the event. Currently only managed CloudWatch Events rules are supported.
If the service returns an enum value that is not available in the current SDK version, type will return
EventSourceValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EventSourceValuespublic final EventParameters parameters()
Information about the event.
public EventSource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventSource.Builder,EventSource>public static EventSource.Builder builder()
public static Class<? extends EventSource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.