public static interface Event.Builder extends SdkPojo, 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 Amazon Web Services Availability Zone of the event.
|
Event.Builder |
endTime(Instant endTime)
The date and time that the event ended.
|
Event.Builder |
eventScopeCode(EventScopeCode eventScopeCode)
This parameter specifies if the Health event is a public Amazon Web Services service event or an
account-specific event.
|
Event.Builder |
eventScopeCode(String eventScopeCode)
This parameter specifies if the Health event is a public Amazon Web Services service event or an
account-specific event.
|
Event.Builder |
eventTypeCategory(EventTypeCategory eventTypeCategory)
A list of event type category codes.
|
Event.Builder |
eventTypeCategory(String eventTypeCategory)
A list of event type category codes.
|
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 Amazon Web Services Region name of the event.
|
Event.Builder |
service(String service)
The Amazon Web Services service that is affected by the event.
|
Event.Builder |
startTime(Instant startTime)
The date and time that the event began.
|
Event.Builder |
statusCode(EventStatusCode statusCodeValue)
The most recent status of the event.
|
Event.Builder |
statusCode(String statusCodeValue)
The most recent status of the event.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEvent.Builder arn(String arn)
The unique identifier for the event. The event ARN has the
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
arn - The unique identifier for the event. The event ARN has the
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
Event.Builder service(String service)
The Amazon Web Services service that is affected by the event. For example, EC2,
RDS.
service - The Amazon Web Services 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)
A list of event type category codes. Possible values are issue, accountNotification
, or scheduledChange. Currently, the investigation value isn't supported at this
time.
eventTypeCategory - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventTypeCategory,
EventTypeCategoryEvent.Builder eventTypeCategory(EventTypeCategory eventTypeCategory)
A list of event type category codes. Possible values are issue, accountNotification
, or scheduledChange. Currently, the investigation value isn't supported at this
time.
eventTypeCategory - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventTypeCategory,
EventTypeCategoryEvent.Builder region(String region)
The Amazon Web Services Region name of the event.
region - The Amazon Web Services Region name of the event.Event.Builder availabilityZone(String availabilityZone)
The Amazon Web Services Availability Zone of the event. For example, us-east-1a.
availabilityZone - The Amazon Web Services 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 statusCodeValue)
The most recent status of the event. Possible values are open, closed, and
upcoming.
statusCodeValue - The most recent status of the event. Possible values are open, closed, and
upcoming.EventStatusCode,
EventStatusCodeEvent.Builder statusCode(EventStatusCode statusCodeValue)
The most recent status of the event. Possible values are open, closed, and
upcoming.
statusCodeValue - The most recent status of the event. Possible values are open, closed, and
upcoming.EventStatusCode,
EventStatusCodeEvent.Builder eventScopeCode(String eventScopeCode)
This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.
If the eventScopeCode value is PUBLIC, then the affectedAccounts value
is always empty.
If the eventScopeCode value is ACCOUNT_SPECIFIC, then the
affectedAccounts value lists the affected Amazon Web Services accounts in your organization. For
example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web Services
accounts that use that service, those account IDs appear in the response.
If the eventScopeCode value is NONE, then the eventArn that you
specified in the request is invalid or doesn't exist.
eventScopeCode - This parameter specifies if the Health event is a public Amazon Web Services service event or an
account-specific event.
If the eventScopeCode value is PUBLIC, then the
affectedAccounts value is always empty.
If the eventScopeCode value is ACCOUNT_SPECIFIC, then the
affectedAccounts value lists the affected Amazon Web Services accounts in your
organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you
have Amazon Web Services accounts that use that service, those account IDs appear in the response.
If the eventScopeCode value is NONE, then the eventArn that you
specified in the request is invalid or doesn't exist.
EventScopeCode,
EventScopeCodeEvent.Builder eventScopeCode(EventScopeCode eventScopeCode)
This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.
If the eventScopeCode value is PUBLIC, then the affectedAccounts value
is always empty.
If the eventScopeCode value is ACCOUNT_SPECIFIC, then the
affectedAccounts value lists the affected Amazon Web Services accounts in your organization. For
example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web Services
accounts that use that service, those account IDs appear in the response.
If the eventScopeCode value is NONE, then the eventArn that you
specified in the request is invalid or doesn't exist.
eventScopeCode - This parameter specifies if the Health event is a public Amazon Web Services service event or an
account-specific event.
If the eventScopeCode value is PUBLIC, then the
affectedAccounts value is always empty.
If the eventScopeCode value is ACCOUNT_SPECIFIC, then the
affectedAccounts value lists the affected Amazon Web Services accounts in your
organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you
have Amazon Web Services accounts that use that service, those account IDs appear in the response.
If the eventScopeCode value is NONE, then the eventArn that you
specified in the request is invalid or doesn't exist.
EventScopeCode,
EventScopeCodeCopyright © 2021. All rights reserved.