@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 can't 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)
Marshalls this structured data using the given
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. 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
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
public String getEventArn()
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 OrganizationAffectedEntitiesErrorItem withEventArn(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
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
public 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 Object
Object.toString()
public OrganizationAffectedEntitiesErrorItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.