@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventDetailsErrorItem extends Object implements Serializable, Cloneable, StructuredPojo
Error information returned when a DescribeEventDetails operation cannot find a specified event.
| Constructor and Description |
|---|
EventDetailsErrorItem() |
| Modifier and Type | Method and Description |
|---|---|
EventDetailsErrorItem |
clone() |
boolean |
equals(Object obj) |
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 |
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; useful for testing and debugging.
|
EventDetailsErrorItem |
withErrorMessage(String errorMessage)
A message that describes the error.
|
EventDetailsErrorItem |
withErrorName(String errorName)
The name of the error.
|
EventDetailsErrorItem |
withEventArn(String eventArn)
The unique identifier for the event.
|
public void setEventArn(String eventArn)
The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
eventArn - The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331public String getEventArn()
The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331public EventDetailsErrorItem withEventArn(String eventArn)
The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
eventArn - The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331public void setErrorName(String errorName)
The name of the error.
errorName - The name of the error.public String getErrorName()
The name of the error.
public EventDetailsErrorItem 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.
errorMessage - A message that describes the error.public String getErrorMessage()
A message that describes the error.
public EventDetailsErrorItem withErrorMessage(String errorMessage)
A message that describes the error.
errorMessage - A message that describes the error.public String toString()
toString in class ObjectObject.toString()public EventDetailsErrorItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.