StructuredPojo
, ToCopyableBuilder<Event.Builder,Event>
@Generated("software.amazon.awssdk:codegen") public class Event extends Object implements StructuredPojo, ToCopyableBuilder<Event.Builder,Event>
Summary information about an event, returned by the DescribeEvents operation. The DescribeEventDetails operation also returns this information, as well as the EventDescription and additional event metadata.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Event.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
arn() |
The unique identifier for the event.
|
String |
availabilityZone() |
The AWS Availability Zone of the event.
|
static Event.Builder |
builder() |
|
Date |
endTime() |
The date and time that the event ended.
|
boolean |
equals(Object obj) |
|
String |
eventTypeCategory() |
The
|
String |
eventTypeCode() |
The unique identifier for the event type.
|
int |
hashCode() |
|
Date |
lastUpdatedTime() |
The most recent date and time that the event was updated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
region() |
The AWS region name of the event.
|
static Class<? extends Event.Builder> |
serializableBuilderClass() |
|
String |
service() |
The AWS service that is affected by the event.
|
Date |
startTime() |
The date and time that the event began.
|
String |
statusCode() |
The most recent status of the event.
|
Event.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String arn()
The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
public String service()
The AWS service that is affected by the event. For example, EC2
, RDS
.
EC2
, RDS
.public String eventTypeCode()
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 eventTypeCategory()
The
EventTypeCategory
public String region()
The AWS region name of the event.
public String availabilityZone()
The AWS Availability Zone of the event. For example, us-east-1a.
public Date startTime()
The date and time that the event began.
public Date endTime()
The date and time that the event ended.
public Date lastUpdatedTime()
The most recent date and time that the event was updated.
public String statusCode()
The most recent status of the event. Possible values are open
, closed
, and
upcoming
.
open
, closed
, and
upcoming
.EventStatusCode
public Event.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Event.Builder,Event>
public static Event.Builder builder()
public static Class<? extends Event.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.