Class ManagedNotificationEventOverview
- java.lang.Object
-
- software.amazon.awssdk.services.notifications.model.ManagedNotificationEventOverview
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManagedNotificationEventOverview.Builder,ManagedNotificationEventOverview>
@Generated("software.amazon.awssdk:codegen") public final class ManagedNotificationEventOverview extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedNotificationEventOverview.Builder,ManagedNotificationEventOverview>
Describes an overview and metadata for a ManagedNotificationEvent.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceManagedNotificationEventOverview.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>aggregatedNotificationRegions()The list of the regions where the aggregated notifications in thisNotificationEventoriginated.AggregationEventTypeaggregationEventType()The notifications aggregation type.StringaggregationEventTypeAsString()The notifications aggregation type.AggregationSummaryaggregationSummary()Returns the value of the AggregationSummary property for this object.Stringarn()The Amazon Resource Name (ARN) of the ManagedNotificationEvent.static ManagedNotificationEventOverview.Builderbuilder()InstantcreationTime()The creation time of theManagedNotificationEvent.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAggregatedNotificationRegions()For responses, this returns true if the service returned a value for the AggregatedNotificationRegions property.inthashCode()StringmanagedNotificationConfigurationArn()The Amazon Resource Name (ARN) of theManagedNotificationConfiguration.ManagedNotificationEventSummarynotificationEvent()Returns the value of the NotificationEvent property for this object.StringorganizationalUnitId()The Organizational Unit Id that an Amazon Web Services account belongs to.StringrelatedAccount()The account that related to theManagedNotificationEvent.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ManagedNotificationEventOverview.Builder>serializableBuilderClass()ManagedNotificationEventOverview.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 ManagedNotificationEvent.
- Returns:
- The Amazon Resource Name (ARN) of the ManagedNotificationEvent.
-
managedNotificationConfigurationArn
public final String managedNotificationConfigurationArn()
The Amazon Resource Name (ARN) of the
ManagedNotificationConfiguration.- Returns:
- The Amazon Resource Name (ARN) of the
ManagedNotificationConfiguration.
-
relatedAccount
public final String relatedAccount()
The account that related to the
ManagedNotificationEvent.- Returns:
- The account that related to the
ManagedNotificationEvent.
-
creationTime
public final Instant creationTime()
The creation time of the
ManagedNotificationEvent.- Returns:
- The creation time of the
ManagedNotificationEvent.
-
notificationEvent
public final ManagedNotificationEventSummary notificationEvent()
Returns the value of the NotificationEvent property for this object.- Returns:
- The value of the NotificationEvent property for this object.
-
aggregationEventType
public final AggregationEventType aggregationEventType()
The notifications 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 notifications 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 notifications 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 notifications 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
-
-
organizationalUnitId
public final String organizationalUnitId()
The Organizational Unit Id that an Amazon Web Services account belongs to.
- Returns:
- The Organizational Unit Id that an Amazon Web Services account belongs to.
-
aggregationSummary
public final AggregationSummary aggregationSummary()
Returns the value of the AggregationSummary property for this object.- Returns:
- The value of the AggregationSummary property for this object.
-
hasAggregatedNotificationRegions
public final boolean hasAggregatedNotificationRegions()
For responses, this returns true if the service returned a value for the AggregatedNotificationRegions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
aggregatedNotificationRegions
public final List<String> aggregatedNotificationRegions()
The list of the regions where the aggregated notifications in this
NotificationEventoriginated.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAggregatedNotificationRegions()method.- Returns:
- The list of the regions where the aggregated notifications in this
NotificationEventoriginated.
-
toBuilder
public ManagedNotificationEventOverview.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedNotificationEventOverview.Builder,ManagedNotificationEventOverview>
-
builder
public static ManagedNotificationEventOverview.Builder builder()
-
serializableBuilderClass
public static Class<? extends ManagedNotificationEventOverview.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
-
-