CopyableBuilder<Event.Builder,Event>, SdkBuilder<Event.Builder,Event>public static interface Event.Builder extends CopyableBuilder<Event.Builder,Event>
| Modifier and Type | Method | 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(Date endTime) |
The date and time that the event ended.
|
Event.Builder |
eventTypeCategory(String eventTypeCategory) |
The
|
Event.Builder |
eventTypeCategory(EventTypeCategory eventTypeCategory) |
The
|
Event.Builder |
eventTypeCode(String eventTypeCode) |
The unique identifier for the event type.
|
Event.Builder |
lastUpdatedTime(Date 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(Date startTime) |
The date and time that the event began.
|
Event.Builder |
statusCode(String statusCode) |
The most recent status of the event.
|
Event.Builder |
statusCode(EventStatusCode statusCode) |
The most recent status of the event.
|
copyapply, buildEvent.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_5331Event.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 - TheEventTypeCategoryEvent.Builder eventTypeCategory(EventTypeCategory eventTypeCategory)
The
eventTypeCategory - TheEventTypeCategoryEvent.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(Date startTime)
The date and time that the event began.
startTime - The date and time that the event began.Event.Builder endTime(Date endTime)
The date and time that the event ended.
endTime - The date and time that the event ended.Event.Builder lastUpdatedTime(Date 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.EventStatusCodeEvent.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.EventStatusCodeCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.