Class SourceEventMetadataSummary
- java.lang.Object
-
- software.amazon.awssdk.services.notifications.model.SourceEventMetadataSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceEventMetadataSummary.Builder,SourceEventMetadataSummary>
@Generated("software.amazon.awssdk:codegen") public final class SourceEventMetadataSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceEventMetadataSummary.Builder,SourceEventMetadataSummary>
Contains metadata about the event that caused the
NotificationEvent. For other specific values, seesourceEventMetadata.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceEventMetadataSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceEventMetadataSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventOriginRegion()The Region where the notification originated.StringeventType()The event type to match.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceEventMetadataSummary.Builder>serializableBuilderClass()Stringsource()The matched event source.SourceEventMetadataSummary.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
-
eventOriginRegion
public final String eventOriginRegion()
The Region where the notification originated.
Unavailable for aggregated notifications.
- Returns:
- The Region where the notification originated.
Unavailable for aggregated notifications.
-
source
public final String source()
The matched event source.
Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example,
aws.ec2andaws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.- Returns:
- The matched event source.
Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example,
aws.ec2andaws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.
-
eventType
public final String eventType()
The event type to match.
Must match one of the valid Amazon EventBridge event types. For example, EC2 Instance State-change Notification and Amazon CloudWatch Alarm State Change. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.
- Returns:
- The event type to match.
Must match one of the valid Amazon EventBridge event types. For example, EC2 Instance State-change Notification and Amazon CloudWatch Alarm State Change. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.
-
toBuilder
public SourceEventMetadataSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceEventMetadataSummary.Builder,SourceEventMetadataSummary>
-
builder
public static SourceEventMetadataSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceEventMetadataSummary.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
-
-