@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrganizationAffectedEntitiesErrorItem extends Object implements Serializable, Cloneable, StructuredPojo
Error information returned when a DescribeAffectedEntitiesForOrganization operation cannot find or process a specific entity.
| Constructor and Description |
|---|
OrganizationAffectedEntitiesErrorItem() |
| Modifier and Type | Method and Description |
|---|---|
OrganizationAffectedEntitiesErrorItem |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The 12-digit AWS account numbers that contains the affected entities.
|
String |
getErrorMessage()
The unique identifier for the event type.
|
String |
getErrorName()
The name of the error.
|
String |
getEventArn()
The unique identifier for the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAwsAccountId(String awsAccountId)
The 12-digit AWS account numbers that contains the affected entities.
|
void |
setErrorMessage(String errorMessage)
The unique identifier for the event type.
|
void |
setErrorName(String errorName)
The name of the error.
|
void |
setEventArn(String eventArn)
The unique identifier for the event.
|
String |
toString()
Returns a string representation of this object.
|
OrganizationAffectedEntitiesErrorItem |
withAwsAccountId(String awsAccountId)
The 12-digit AWS account numbers that contains the affected entities.
|
OrganizationAffectedEntitiesErrorItem |
withErrorMessage(String errorMessage)
The unique identifier for the event type.
|
OrganizationAffectedEntitiesErrorItem |
withErrorName(String errorName)
The name of the error.
|
OrganizationAffectedEntitiesErrorItem |
withEventArn(String eventArn)
The unique identifier for the event.
|
public OrganizationAffectedEntitiesErrorItem()
public void setAwsAccountId(String awsAccountId)
The 12-digit AWS account numbers that contains the affected entities.
awsAccountId - The 12-digit AWS account numbers that contains the affected entities.public String getAwsAccountId()
The 12-digit AWS account numbers that contains the affected entities.
public OrganizationAffectedEntitiesErrorItem withAwsAccountId(String awsAccountId)
The 12-digit AWS account numbers that contains the affected entities.
awsAccountId - The 12-digit AWS account numbers that contains the affected entities.public void setEventArn(String eventArn)
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
eventArn - 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-DEF456public String getEventArn()
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 OrganizationAffectedEntitiesErrorItem withEventArn(String eventArn)
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
eventArn - 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-DEF456public void setErrorName(String errorName)
The name of the error.
errorName - The name of the error.public String getErrorName()
The name of the error.
public OrganizationAffectedEntitiesErrorItem withErrorName(String errorName)
The name of the error.
errorName - The name of the error.public void setErrorMessage(String errorMessage)
The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION. For example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
errorMessage - The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION. For example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT.public String getErrorMessage()
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 OrganizationAffectedEntitiesErrorItem withErrorMessage(String errorMessage)
The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION. For example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT.
errorMessage - The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION. For example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT.public String toString()
toString in class ObjectObject.toString()public OrganizationAffectedEntitiesErrorItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.