@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 Amazon Web Services account numbers that contains the affected entities.
|
String |
getErrorMessage()
A message that describes the error.
|
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 Amazon Web Services account numbers that contains the affected entities.
|
void |
setErrorMessage(String errorMessage)
A message that describes the error.
|
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 Amazon Web Services account numbers that contains the affected entities.
|
OrganizationAffectedEntitiesErrorItem |
withErrorMessage(String errorMessage)
A message that describes the error.
|
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 Amazon Web Services account numbers that contains the affected entities.
awsAccountId
- The 12-digit Amazon Web Services account numbers that contains the affected entities.public String getAwsAccountId()
The 12-digit Amazon Web Services account numbers that contains the affected entities.
public OrganizationAffectedEntitiesErrorItem withAwsAccountId(String awsAccountId)
The 12-digit Amazon Web Services account numbers that contains the affected entities.
awsAccountId
- The 12-digit Amazon Web Services 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)
A message that describes the error. Follow the error message and retry your request.
For example, the InvalidAccountInputError
error message appears if you call the
DescribeAffectedEntitiesForOrganization
operation and specify the AccountSpecific
value
for the EventScopeCode
parameter, but don't specify an Amazon Web Services account.
errorMessage
- A message that describes the error. Follow the error message and retry your request.
For example, the InvalidAccountInputError
error message appears if you call the
DescribeAffectedEntitiesForOrganization
operation and specify the
AccountSpecific
value for the EventScopeCode
parameter, but don't specify an
Amazon Web Services account.
public String getErrorMessage()
A message that describes the error. Follow the error message and retry your request.
For example, the InvalidAccountInputError
error message appears if you call the
DescribeAffectedEntitiesForOrganization
operation and specify the AccountSpecific
value
for the EventScopeCode
parameter, but don't specify an Amazon Web Services account.
For example, the InvalidAccountInputError
error message appears if you call the
DescribeAffectedEntitiesForOrganization
operation and specify the
AccountSpecific
value for the EventScopeCode
parameter, but don't specify an
Amazon Web Services account.
public OrganizationAffectedEntitiesErrorItem withErrorMessage(String errorMessage)
A message that describes the error. Follow the error message and retry your request.
For example, the InvalidAccountInputError
error message appears if you call the
DescribeAffectedEntitiesForOrganization
operation and specify the AccountSpecific
value
for the EventScopeCode
parameter, but don't specify an Amazon Web Services account.
errorMessage
- A message that describes the error. Follow the error message and retry your request.
For example, the InvalidAccountInputError
error message appears if you call the
DescribeAffectedEntitiesForOrganization
operation and specify the
AccountSpecific
value for the EventScopeCode
parameter, but don't specify an
Amazon Web Services account.
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.