Class EventSource
- java.lang.Object
-
- software.amazon.awssdk.services.dlm.model.EventSource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventSource.Builder,EventSource>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventSource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()EventParametersparameters()Information about the event.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EventSource.Builder>serializableBuilderClass()EventSource.BuildertoBuilder()StringtoString()Returns a string representation of this object.EventSourceValuestype()The source of the event.StringtypeAsString()The source of the event.-
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
-
type
public 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,
typewill returnEventSourceValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The source of the event. Currently only managed CloudWatch Events rules are supported.
- See Also:
EventSourceValues
-
typeAsString
public 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,
typewill returnEventSourceValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The source of the event. Currently only managed CloudWatch Events rules are supported.
- See Also:
EventSourceValues
-
parameters
public final EventParameters parameters()
Information about the event.
- Returns:
- Information about the event.
-
toBuilder
public EventSource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventSource.Builder,EventSource>
-
builder
public static EventSource.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventSource.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-