@Generated(value="software.amazon.awssdk:codegen") public final class OrganizationEventDetailsErrorItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OrganizationEventDetailsErrorItem.Builder,OrganizationEventDetailsErrorItem>
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OrganizationEventDetailsErrorItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
awsAccountId()
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
|
static OrganizationEventDetailsErrorItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
A message that describes the error.
|
String |
errorName()
The name of the error.
|
String |
eventArn()
The unique identifier for the event.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends OrganizationEventDetailsErrorItem.Builder> |
serializableBuilderClass() |
OrganizationEventDetailsErrorItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String awsAccountId()
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
public final String eventArn()
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: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
public final String errorName()
The name of the error.
public final String errorMessage()
A message that describes the error.
If you call the DescribeEventDetailsForOrganization operation and receive one of the following
errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an Amazon Web Services account ID in the request.
We couldn't find an account specific event for the specified Amazon Web Services account. To find an event that is public, you must enter a null value for the Amazon Web Services account ID in the request.
Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the Health API. You must have either a Business, Enterprise On-Ramp, or Enterprise Support plan.
If you call the DescribeEventDetailsForOrganization operation and receive one of the
following errors, follow the recommendations in the message:
We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an Amazon Web Services account ID in the request.
We couldn't find an account specific event for the specified Amazon Web Services account. To find an event that is public, you must enter a null value for the Amazon Web Services account ID in the request.
Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the Health API. You must have either a Business, Enterprise On-Ramp, or Enterprise Support plan.
public OrganizationEventDetailsErrorItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OrganizationEventDetailsErrorItem.Builder,OrganizationEventDetailsErrorItem>public static OrganizationEventDetailsErrorItem.Builder builder()
public static Class<? extends OrganizationEventDetailsErrorItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.