StructuredPojo
, ToCopyableBuilder<EventType.Builder,EventType>
@Generated("software.amazon.awssdk:codegen") public class EventType extends Object implements StructuredPojo, 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 | Description |
---|---|---|
static interface |
EventType.Builder |
Modifier and Type | Method | Description |
---|---|---|
static EventType.Builder |
builder() |
|
String |
category() |
A list of event type category codes (
issue , scheduledChange , or
accountNotification ). |
String |
code() |
The unique identifier for the event type.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EventType.Builder> |
serializableBuilderClass() |
|
String |
service() |
The AWS service that is affected by the event.
|
EventType.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String service()
The AWS service that is affected by the event. For example, EC2
, RDS
.
EC2
, RDS
.public 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 String category()
A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
issue
, scheduledChange
, or
accountNotification
).EventTypeCategory
public EventType.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EventType.Builder,EventType>
public static EventType.Builder builder()
public static Class<? extends EventType.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.