@Generated(value="software.amazon.awssdk:codegen") public final class EventType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventType.Builder,EventType>
Metadata about a type of event that is reported by AWS Health. Data consists of the category (for example,
issue), the service (for example, EC2), and the event type code (for example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT).
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventType.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EventType.Builder |
builder() |
EventTypeCategory |
category()
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
String |
categoryAsString()
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
String |
code()
The unique identifier for the event type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventType.Builder> |
serializableBuilderClass() |
String |
service()
The AWS service that is affected by the event.
|
EventType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String service()
The AWS service that is affected by the event. For example, EC2, RDS.
EC2, RDS.public final String code()
The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION ; for
example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
AWS_SERVICE_DESCRIPTION ; for example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT.public final EventTypeCategory category()
A list of event type category codes (issue, scheduledChange, or
accountNotification).
If the service returns an enum value that is not available in the current SDK version, category will
return EventTypeCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
categoryAsString().
issue, scheduledChange, or
accountNotification).EventTypeCategorypublic final String categoryAsString()
A list of event type category codes (issue, scheduledChange, or
accountNotification).
If the service returns an enum value that is not available in the current SDK version, category will
return EventTypeCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
categoryAsString().
issue, scheduledChange, or
accountNotification).EventTypeCategorypublic EventType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventType.Builder,EventType>public static EventType.Builder builder()
public static Class<? extends EventType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.