public static interface OrganizationEvent.Builder extends SdkPojo, CopyableBuilder<OrganizationEvent.Builder,OrganizationEvent>
| Modifier and Type | Method and Description |
|---|---|
OrganizationEvent.Builder |
arn(String arn)
The unique identifier for the event.
|
OrganizationEvent.Builder |
endTime(Instant endTime)
The date and time that the event ended.
|
OrganizationEvent.Builder |
eventScopeCode(EventScopeCode eventScopeCode)
This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.
|
OrganizationEvent.Builder |
eventScopeCode(String eventScopeCode)
This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.
|
OrganizationEvent.Builder |
eventTypeCategory(EventTypeCategory eventTypeCategory)
The category of the event type.
|
OrganizationEvent.Builder |
eventTypeCategory(String eventTypeCategory)
The category of the event type.
|
OrganizationEvent.Builder |
eventTypeCode(String eventTypeCode)
The unique identifier for the event type.
|
OrganizationEvent.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The most recent date and time that the event was updated.
|
OrganizationEvent.Builder |
region(String region)
The AWS Region name of the event.
|
OrganizationEvent.Builder |
service(String service)
The AWS service that is affected by the event.
|
OrganizationEvent.Builder |
startTime(Instant startTime)
The date and time that the event began.
|
OrganizationEvent.Builder |
statusCode(EventStatusCode statusCodeValue)
The most recent status of the event.
|
OrganizationEvent.Builder |
statusCode(String statusCodeValue)
The most recent status of the event.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOrganizationEvent.Builder arn(String arn)
The unique identifier for the event. Format:
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
. Example:
Example: 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. Format:
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
. Example:
Example: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456OrganizationEvent.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.OrganizationEvent.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.OrganizationEvent.Builder eventTypeCategory(String eventTypeCategory)
The category of the event type.
eventTypeCategory - The category of the event type.EventTypeCategory,
EventTypeCategoryOrganizationEvent.Builder eventTypeCategory(EventTypeCategory eventTypeCategory)
The category of the event type.
eventTypeCategory - The category of the event type.EventTypeCategory,
EventTypeCategoryOrganizationEvent.Builder eventScopeCode(String eventScopeCode)
This parameter specifies if the AWS Health event is a public AWS 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 AWS accounts in your organization. For example, if an
event affects a service such as Amazon Elastic Compute Cloud and you have AWS 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 AWS Health event is a public AWS 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 AWS accounts in your organization. For example,
if an event affects a service such as Amazon Elastic Compute Cloud and you have AWS 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,
EventScopeCodeOrganizationEvent.Builder eventScopeCode(EventScopeCode eventScopeCode)
This parameter specifies if the AWS Health event is a public AWS 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 AWS accounts in your organization. For example, if an
event affects a service such as Amazon Elastic Compute Cloud and you have AWS 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 AWS Health event is a public AWS 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 AWS accounts in your organization. For example,
if an event affects a service such as Amazon Elastic Compute Cloud and you have AWS 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,
EventScopeCodeOrganizationEvent.Builder region(String region)
The AWS Region name of the event.
region - The AWS Region name of the event.OrganizationEvent.Builder startTime(Instant startTime)
The date and time that the event began.
startTime - The date and time that the event began.OrganizationEvent.Builder endTime(Instant endTime)
The date and time that the event ended.
endTime - The date and time that the event ended.OrganizationEvent.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.OrganizationEvent.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,
EventStatusCodeOrganizationEvent.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,
EventStatusCodeCopyright © 2021. All rights reserved.