Class OrganizationAffectedEntitiesErrorItem
- java.lang.Object
-
- software.amazon.awssdk.services.health.model.OrganizationAffectedEntitiesErrorItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OrganizationAffectedEntitiesErrorItem.Builder,OrganizationAffectedEntitiesErrorItem>
@Generated("software.amazon.awssdk:codegen") public final class OrganizationAffectedEntitiesErrorItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OrganizationAffectedEntitiesErrorItem.Builder,OrganizationAffectedEntitiesErrorItem>
Error information returned when a DescribeAffectedEntitiesForOrganization operation can't find or process a specific entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOrganizationAffectedEntitiesErrorItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsAccountId()The 12-digit Amazon Web Services account numbers that contains the affected entities.static OrganizationAffectedEntitiesErrorItem.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 OrganizationAffectedEntitiesErrorItem.Builder>serializableBuilderClass()OrganizationAffectedEntitiesErrorItem.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()
The 12-digit Amazon Web Services account numbers that contains the affected entities.
- Returns:
- The 12-digit Amazon Web Services account numbers that contains the affected entities.
-
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. Follow the error message and retry your request.
For example, the
InvalidAccountInputErrorerror message appears if you call theDescribeAffectedEntitiesForOrganizationoperation and specify theAccountSpecificvalue for theEventScopeCodeparameter, but don't specify an Amazon Web Services account.- Returns:
- A message that describes the error. Follow the error message and retry your request.
For example, the
InvalidAccountInputErrorerror message appears if you call theDescribeAffectedEntitiesForOrganizationoperation and specify theAccountSpecificvalue for theEventScopeCodeparameter, but don't specify an Amazon Web Services account.
-
toBuilder
public OrganizationAffectedEntitiesErrorItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OrganizationAffectedEntitiesErrorItem.Builder,OrganizationAffectedEntitiesErrorItem>
-
builder
public static OrganizationAffectedEntitiesErrorItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends OrganizationAffectedEntitiesErrorItem.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.
-
-