@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClientException extends AmazonEKSException
These errors are usually caused by a client action. Actions can include using an action or resource on behalf of an IAM principal that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ClientException(String message)
Constructs a new ClientException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddonName()
The Amazon EKS add-on name associated with the exception.
|
String |
getClusterName()
The Amazon EKS cluster associated with the exception.
|
String |
getNodegroupName()
The Amazon EKS managed node group associated with the exception.
|
String |
getSubscriptionId()
The Amazon EKS subscription ID with the exception.
|
void |
setAddonName(String addonName)
The Amazon EKS add-on name associated with the exception.
|
void |
setClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
|
void |
setNodegroupName(String nodegroupName)
The Amazon EKS managed node group associated with the exception.
|
void |
setSubscriptionId(String subscriptionId)
The Amazon EKS subscription ID with the exception.
|
ClientException |
withAddonName(String addonName)
The Amazon EKS add-on name associated with the exception.
|
ClientException |
withClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
|
ClientException |
withNodegroupName(String nodegroupName)
The Amazon EKS managed node group associated with the exception.
|
ClientException |
withSubscriptionId(String subscriptionId)
The Amazon EKS subscription ID with the exception.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClientException(String message)
message
- Describes the error encountered.public void setClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
clusterName
- The Amazon EKS cluster associated with the exception.public String getClusterName()
The Amazon EKS cluster associated with the exception.
public ClientException withClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
clusterName
- The Amazon EKS cluster associated with the exception.public void setNodegroupName(String nodegroupName)
The Amazon EKS managed node group associated with the exception.
nodegroupName
- The Amazon EKS managed node group associated with the exception.public String getNodegroupName()
The Amazon EKS managed node group associated with the exception.
public ClientException withNodegroupName(String nodegroupName)
The Amazon EKS managed node group associated with the exception.
nodegroupName
- The Amazon EKS managed node group associated with the exception.public void setAddonName(String addonName)
The Amazon EKS add-on name associated with the exception.
addonName
- The Amazon EKS add-on name associated with the exception.public String getAddonName()
The Amazon EKS add-on name associated with the exception.
public ClientException withAddonName(String addonName)
The Amazon EKS add-on name associated with the exception.
addonName
- The Amazon EKS add-on name associated with the exception.public void setSubscriptionId(String subscriptionId)
The Amazon EKS subscription ID with the exception.
subscriptionId
- The Amazon EKS subscription ID with the exception.public String getSubscriptionId()
The Amazon EKS subscription ID with the exception.
public ClientException withSubscriptionId(String subscriptionId)
The Amazon EKS subscription ID with the exception.
subscriptionId
- The Amazon EKS subscription ID with the exception.