public static interface Event.Builder extends CopyableBuilder<Event.Builder,Event>
Modifier and Type | Method and Description |
---|---|
Event.Builder |
arn(String arn)
The unique identifier for the event.
|
Event.Builder |
availabilityZone(String availabilityZone)
The AWS Availability Zone of the event.
|
Event.Builder |
endTime(Instant endTime)
The date and time that the event ended.
|
Event.Builder |
eventTypeCategory(EventTypeCategory eventTypeCategory)
The
|
Event.Builder |
eventTypeCategory(String eventTypeCategory)
The
|
Event.Builder |
eventTypeCode(String eventTypeCode)
The unique identifier for the event type.
|
Event.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The most recent date and time that the event was updated.
|
Event.Builder |
region(String region)
The AWS region name of the event.
|
Event.Builder |
service(String service)
The AWS service that is affected by the event.
|
Event.Builder |
startTime(Instant startTime)
The date and time that the event began.
|
Event.Builder |
statusCode(EventStatusCode statusCode)
The most recent status of the event.
|
Event.Builder |
statusCode(String statusCode)
The most recent status of the event.
|
copy
apply, build
Event.Builder arn(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
- 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
Event.Builder service(String service)
The AWS service that is affected by the event. For example, EC2
, RDS
.
service
- The AWS service that is affected by the event. For example, EC2
, RDS
.Event.Builder eventTypeCode(String eventTypeCode)
The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION
;
for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
eventTypeCode
- The unique identifier for the event type. The format is
AWS_SERVICE_DESCRIPTION
; for example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.Event.Builder eventTypeCategory(String eventTypeCategory)
The
eventTypeCategory
- TheEventTypeCategory
,
EventTypeCategory
Event.Builder eventTypeCategory(EventTypeCategory eventTypeCategory)
The
eventTypeCategory
- TheEventTypeCategory
,
EventTypeCategory
Event.Builder region(String region)
The AWS region name of the event.
region
- The AWS region name of the event.Event.Builder availabilityZone(String availabilityZone)
The AWS Availability Zone of the event. For example, us-east-1a.
availabilityZone
- The AWS Availability Zone of the event. For example, us-east-1a.Event.Builder startTime(Instant startTime)
The date and time that the event began.
startTime
- The date and time that the event began.Event.Builder endTime(Instant endTime)
The date and time that the event ended.
endTime
- The date and time that the event ended.Event.Builder lastUpdatedTime(Instant lastUpdatedTime)
The most recent date and time that the event was updated.
lastUpdatedTime
- The most recent date and time that the event was updated.Event.Builder statusCode(String statusCode)
The most recent status of the event. Possible values are open
, closed
, and
upcoming
.
statusCode
- The most recent status of the event. Possible values are open
, closed
, and
upcoming
.EventStatusCode
,
EventStatusCode
Event.Builder statusCode(EventStatusCode statusCode)
The most recent status of the event. Possible values are open
, closed
, and
upcoming
.
statusCode
- The most recent status of the event. Possible values are open
, closed
, and
upcoming
.EventStatusCode
,
EventStatusCode
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.