Class NotificationEventOverview
- java.lang.Object
-
- software.amazon.awssdk.services.notifications.model.NotificationEventOverview
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NotificationEventOverview.Builder,NotificationEventOverview>
@Generated("software.amazon.awssdk:codegen") public final class NotificationEventOverview extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotificationEventOverview.Builder,NotificationEventOverview>
Describes a short summary of a
NotificationEvent. This is only used when listing notification events.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotificationEventOverview.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaggregateNotificationEventArn()The ARN of theaggregatedNotificationEventArnto match.AggregationEventTypeaggregationEventType()TheNotificationConfiguration's aggregation type.StringaggregationEventTypeAsString()TheNotificationConfiguration's aggregation type.AggregationSummaryaggregationSummary()Provides an aggregated summary data for notification events.Stringarn()The Amazon Resource Name (ARN) of the resource.static NotificationEventOverview.Builderbuilder()InstantcreationTime()The creation time of theNotificationEvent.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnotificationConfigurationArn()The ARN of theNotificationConfiguration.NotificationEventSummarynotificationEvent()Refers to aNotificationEventSummaryobject.StringrelatedAccount()The account name containing theNotificationHub.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NotificationEventOverview.Builder>serializableBuilderClass()NotificationEventOverview.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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the resource.
- Returns:
- The Amazon Resource Name (ARN) of the resource.
-
notificationConfigurationArn
public final String notificationConfigurationArn()
The ARN of the
NotificationConfiguration.- Returns:
- The ARN of the
NotificationConfiguration.
-
relatedAccount
public final String relatedAccount()
The account name containing the
NotificationHub.- Returns:
- The account name containing the
NotificationHub.
-
creationTime
public final Instant creationTime()
The creation time of the
NotificationEvent.- Returns:
- The creation time of the
NotificationEvent.
-
notificationEvent
public final NotificationEventSummary notificationEvent()
Refers to a
NotificationEventSummaryobject.Similar in structure to
contentin theGetNotificationEventresponse.- Returns:
- Refers to a
NotificationEventSummaryobject.Similar in structure to
contentin theGetNotificationEventresponse.
-
aggregationEventType
public final AggregationEventType aggregationEventType()
The
NotificationConfiguration's aggregation type.-
Values:
-
AGGREGATE-
The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.
-
-
CHILD-
Some
EventRulesareACTIVEand some areINACTIVE. Any call can be run.
-
-
NONE-
The notification isn't aggregated.
-
-
If the service returns an enum value that is not available in the current SDK version,
aggregationEventTypewill returnAggregationEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationEventTypeAsString().- Returns:
- The
NotificationConfiguration's aggregation type.-
Values:
-
AGGREGATE-
The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.
-
-
CHILD-
Some
EventRulesareACTIVEand some areINACTIVE. Any call can be run.
-
-
NONE-
The notification isn't aggregated.
-
-
-
- See Also:
AggregationEventType
-
-
aggregationEventTypeAsString
public final String aggregationEventTypeAsString()
The
NotificationConfiguration's aggregation type.-
Values:
-
AGGREGATE-
The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.
-
-
CHILD-
Some
EventRulesareACTIVEand some areINACTIVE. Any call can be run.
-
-
NONE-
The notification isn't aggregated.
-
-
If the service returns an enum value that is not available in the current SDK version,
aggregationEventTypewill returnAggregationEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationEventTypeAsString().- Returns:
- The
NotificationConfiguration's aggregation type.-
Values:
-
AGGREGATE-
The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.
-
-
CHILD-
Some
EventRulesareACTIVEand some areINACTIVE. Any call can be run.
-
-
NONE-
The notification isn't aggregated.
-
-
-
- See Also:
AggregationEventType
-
-
aggregateNotificationEventArn
public final String aggregateNotificationEventArn()
The ARN of the
aggregatedNotificationEventArnto match.- Returns:
- The ARN of the
aggregatedNotificationEventArnto match.
-
aggregationSummary
public final AggregationSummary aggregationSummary()
Provides an aggregated summary data for notification events.
- Returns:
- Provides an aggregated summary data for notification events.
-
toBuilder
public NotificationEventOverview.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotificationEventOverview.Builder,NotificationEventOverview>
-
builder
public static NotificationEventOverview.Builder builder()
-
serializableBuilderClass
public static Class<? extends NotificationEventOverview.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
-
-