@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInUseException extends AmazonEKSException
The specified resource is in use.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| ResourceInUseException(String message)Constructs a new ResourceInUseException with the specified error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAddonName() | 
| String | getClusterName()
 The Amazon EKS cluster associated with the exception. | 
| String | getNodegroupName()
 The Amazon EKS managed node group associated with the exception. | 
| void | setAddonName(String addonName) | 
| 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. | 
| ResourceInUseException | withAddonName(String addonName) | 
| ResourceInUseException | withClusterName(String clusterName)
 The Amazon EKS cluster associated with the exception. | 
| ResourceInUseException | withNodegroupName(String nodegroupName)
 The Amazon EKS managed node group associated with the exception. | 
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ResourceInUseException(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 ResourceInUseException 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 ResourceInUseException 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)
addonName - public String getAddonName()
public ResourceInUseException withAddonName(String addonName)
addonName -