@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrganizationEventDetailsErrorItem extends Object implements Serializable, Cloneable, StructuredPojo
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
Constructor and Description |
---|
OrganizationEventDetailsErrorItem() |
Modifier and Type | Method and Description |
---|---|
OrganizationEventDetailsErrorItem |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
|
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)
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
|
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.
|
OrganizationEventDetailsErrorItem |
withAwsAccountId(String awsAccountId)
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
|
OrganizationEventDetailsErrorItem |
withErrorMessage(String errorMessage)
A message that describes the error.
|
OrganizationEventDetailsErrorItem |
withErrorName(String errorName)
The name of the error.
|
OrganizationEventDetailsErrorItem |
withEventArn(String eventArn)
The unique identifier for the event.
|
public void setAwsAccountId(String awsAccountId)
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
awsAccountId
- Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.public String getAwsAccountId()
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
public OrganizationEventDetailsErrorItem withAwsAccountId(String awsAccountId)
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
awsAccountId
- Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.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 OrganizationEventDetailsErrorItem 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 OrganizationEventDetailsErrorItem 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.
If you call the DescribeEventDetailsForOrganization
operation 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.
errorMessage
- A message that describes the error.
If you call the DescribeEventDetailsForOrganization
operation 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.
public String getErrorMessage()
A message that describes the error.
If you call the DescribeEventDetailsForOrganization
operation 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.
If you call the DescribeEventDetailsForOrganization
operation 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.
public OrganizationEventDetailsErrorItem withErrorMessage(String errorMessage)
A message that describes the error.
If you call the DescribeEventDetailsForOrganization
operation 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.
errorMessage
- A message that describes the error.
If you call the DescribeEventDetailsForOrganization
operation 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.
public String toString()
toString
in class Object
Object.toString()
public OrganizationEventDetailsErrorItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.