@Generated(value="software.amazon.awssdk:codegen") public final class OrganizationEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OrganizationEvent.Builder,OrganizationEvent>
Summary information about an event, returned by the DescribeEventsForOrganization operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OrganizationEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The unique identifier for the event.
|
static OrganizationEvent.Builder |
builder() |
Instant |
endTime()
The date and time that the event ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
EventScopeCode |
eventScopeCode()
This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.
|
String |
eventScopeCodeAsString()
This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.
|
EventTypeCategory |
eventTypeCategory()
The category of the event type.
|
String |
eventTypeCategoryAsString()
The category of the event type.
|
String |
eventTypeCode()
The unique identifier for the event type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTime()
The most recent date and time that the event was updated.
|
String |
region()
The AWS Region name of the event.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OrganizationEvent.Builder> |
serializableBuilderClass() |
String |
service()
The AWS service that is affected by the event.
|
Instant |
startTime()
The date and time that the event began.
|
EventStatusCode |
statusCode()
The most recent status of the event.
|
String |
statusCodeAsString()
The most recent status of the event.
|
OrganizationEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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: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-DEF456public String service()
The AWS service that is affected by the event. For example, 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 EventTypeCategory eventTypeCategory()
The category of the event type.
If the service returns an enum value that is not available in the current SDK version, eventTypeCategory
will return EventTypeCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from eventTypeCategoryAsString().
EventTypeCategorypublic String eventTypeCategoryAsString()
The category of the event type.
If the service returns an enum value that is not available in the current SDK version, eventTypeCategory
will return EventTypeCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from eventTypeCategoryAsString().
EventTypeCategorypublic 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.
If the service returns an enum value that is not available in the current SDK version, eventScopeCode
will return EventScopeCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from eventScopeCodeAsString().
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.
EventScopeCodepublic String eventScopeCodeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, eventScopeCode
will return EventScopeCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from eventScopeCodeAsString().
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.
EventScopeCodepublic String region()
The AWS Region name of the event.
public Instant startTime()
The date and time that the event began.
public Instant endTime()
The date and time that the event ended.
public Instant lastUpdatedTime()
The most recent date and time that the event was updated.
public EventStatusCode statusCode()
The most recent status of the event. Possible values are open, closed, and
upcoming.
If the service returns an enum value that is not available in the current SDK version, statusCode() will
return EventStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusCodeAsString().
open, closed, and
upcoming.EventStatusCodepublic String statusCodeAsString()
The most recent status of the event. Possible values are open, closed, and
upcoming.
If the service returns an enum value that is not available in the current SDK version, statusCode() will
return EventStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusCodeAsString().
open, closed, and
upcoming.EventStatusCodepublic OrganizationEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OrganizationEvent.Builder,OrganizationEvent>public static OrganizationEvent.Builder builder()
public static Class<? extends OrganizationEvent.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.