@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object representing an error when an asynchronous operation fails.
| Constructor and Description |
|---|
ErrorDetail() |
| Modifier and Type | Method and Description |
|---|---|
ErrorDetail |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
A brief description of the error.
|
String |
getErrorMessage()
A more complete description of the error.
|
List<String> |
getResourceIds()
An optional field that contains the resource IDs associated with the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
A brief description of the error.
|
void |
setErrorMessage(String errorMessage)
A more complete description of the error.
|
void |
setResourceIds(Collection<String> resourceIds)
An optional field that contains the resource IDs associated with the error.
|
String |
toString()
Returns a string representation of this object.
|
ErrorDetail |
withErrorCode(ErrorCode errorCode)
A brief description of the error.
|
ErrorDetail |
withErrorCode(String errorCode)
A brief description of the error.
|
ErrorDetail |
withErrorMessage(String errorMessage)
A more complete description of the error.
|
ErrorDetail |
withResourceIds(Collection<String> resourceIds)
An optional field that contains the resource IDs associated with the error.
|
ErrorDetail |
withResourceIds(String... resourceIds)
An optional field that contains the resource IDs associated with the error.
|
public void setErrorCode(String errorCode)
A brief description of the error.
SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
EniLimitReached: You have reached the elastic network interface limit for your account.
IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.
AccessDenied: You don't have permissions to perform the specified operation.
OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
VpcIdNotFound: We couldn't find the VPC associated with the cluster.
errorCode - A brief description of the error.
SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
EniLimitReached: You have reached the elastic network interface limit for your account.
IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.
AccessDenied: You don't have permissions to perform the specified operation.
OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
VpcIdNotFound: We couldn't find the VPC associated with the cluster.
ErrorCodepublic String getErrorCode()
A brief description of the error.
SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
EniLimitReached: You have reached the elastic network interface limit for your account.
IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.
AccessDenied: You don't have permissions to perform the specified operation.
OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
VpcIdNotFound: We couldn't find the VPC associated with the cluster.
SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
EniLimitReached: You have reached the elastic network interface limit for your account.
IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.
AccessDenied: You don't have permissions to perform the specified operation.
OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
VpcIdNotFound: We couldn't find the VPC associated with the cluster.
ErrorCodepublic ErrorDetail withErrorCode(String errorCode)
A brief description of the error.
SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
EniLimitReached: You have reached the elastic network interface limit for your account.
IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.
AccessDenied: You don't have permissions to perform the specified operation.
OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
VpcIdNotFound: We couldn't find the VPC associated with the cluster.
errorCode - A brief description of the error.
SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
EniLimitReached: You have reached the elastic network interface limit for your account.
IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.
AccessDenied: You don't have permissions to perform the specified operation.
OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
VpcIdNotFound: We couldn't find the VPC associated with the cluster.
ErrorCodepublic ErrorDetail withErrorCode(ErrorCode errorCode)
A brief description of the error.
SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
EniLimitReached: You have reached the elastic network interface limit for your account.
IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.
AccessDenied: You don't have permissions to perform the specified operation.
OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
VpcIdNotFound: We couldn't find the VPC associated with the cluster.
errorCode - A brief description of the error.
SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
EniLimitReached: You have reached the elastic network interface limit for your account.
IpNotAvailable: A subnet associated with the cluster doesn't have any available IP addresses.
AccessDenied: You don't have permissions to perform the specified operation.
OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
VpcIdNotFound: We couldn't find the VPC associated with the cluster.
ErrorCodepublic void setErrorMessage(String errorMessage)
A more complete description of the error.
errorMessage - A more complete description of the error.public String getErrorMessage()
A more complete description of the error.
public ErrorDetail withErrorMessage(String errorMessage)
A more complete description of the error.
errorMessage - A more complete description of the error.public List<String> getResourceIds()
An optional field that contains the resource IDs associated with the error.
public void setResourceIds(Collection<String> resourceIds)
An optional field that contains the resource IDs associated with the error.
resourceIds - An optional field that contains the resource IDs associated with the error.public ErrorDetail withResourceIds(String... resourceIds)
An optional field that contains the resource IDs associated with the error.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection) or withResourceIds(java.util.Collection) if you want to
override the existing values.
resourceIds - An optional field that contains the resource IDs associated with the error.public ErrorDetail withResourceIds(Collection<String> resourceIds)
An optional field that contains the resource IDs associated with the error.
resourceIds - An optional field that contains the resource IDs associated with the error.public String toString()
toString in class ObjectObject.toString()public ErrorDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.