Class OrganizationEventDetailsErrorItem
- java.lang.Object
-
- software.amazon.awssdk.services.health.model.OrganizationEventDetailsErrorItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OrganizationEventDetailsErrorItem.Builder,OrganizationEventDetailsErrorItem>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOrganizationEventDetailsErrorItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsAccountId()Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.static OrganizationEventDetailsErrorItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()A message that describes the error.StringerrorName()The name of the error.StringeventArn()The unique identifier for the event.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends OrganizationEventDetailsErrorItem.Builder>serializableBuilderClass()OrganizationEventDetailsErrorItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
awsAccountId
public final String awsAccountId()
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
- Returns:
- Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
-
eventArn
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_IDformat.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- Returns:
- The unique identifier for the event. The event ARN has the
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_IDformat.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
-
errorName
public final String errorName()
The name of the error.
- Returns:
- The name of the error.
-
errorMessage
public final String errorMessage()
A message that describes the error.
If you call the
DescribeEventDetailsForOrganizationoperation 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.
- Returns:
- A message that describes the error.
If you call the
DescribeEventDetailsForOrganizationoperation 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.
-
-
-
toBuilder
public OrganizationEventDetailsErrorItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OrganizationEventDetailsErrorItem.Builder,OrganizationEventDetailsErrorItem>
-
builder
public static OrganizationEventDetailsErrorItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends OrganizationEventDetailsErrorItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-