@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidParameterException extends AmazonEKSException
The specified parameter is invalid. Review the available parameters for the API request.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidParameterException(String message)
Constructs a new InvalidParameterException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddonName()
The specified parameter for the add-on name is invalid.
|
String |
getClusterName()
The Amazon EKS cluster associated with the exception.
|
String |
getFargateProfileName()
The Fargate profile 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 specified parameter for the add-on name is invalid.
|
void |
setClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
|
void |
setFargateProfileName(String fargateProfileName)
The Fargate profile 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.
|
InvalidParameterException |
withAddonName(String addonName)
The specified parameter for the add-on name is invalid.
|
InvalidParameterException |
withClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
|
InvalidParameterException |
withFargateProfileName(String fargateProfileName)
The Fargate profile associated with the exception.
|
InvalidParameterException |
withNodegroupName(String nodegroupName)
The Amazon EKS managed node group associated with the exception.
|
InvalidParameterException |
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 InvalidParameterException(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 InvalidParameterException 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 InvalidParameterException 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 setFargateProfileName(String fargateProfileName)
The Fargate profile associated with the exception.
fargateProfileName
- The Fargate profile associated with the exception.public String getFargateProfileName()
The Fargate profile associated with the exception.
public InvalidParameterException withFargateProfileName(String fargateProfileName)
The Fargate profile associated with the exception.
fargateProfileName
- The Fargate profile associated with the exception.public void setAddonName(String addonName)
The specified parameter for the add-on name is invalid. Review the available parameters for the API request
addonName
- The specified parameter for the add-on name is invalid. Review the available parameters for the API
requestpublic String getAddonName()
The specified parameter for the add-on name is invalid. Review the available parameters for the API request
public InvalidParameterException withAddonName(String addonName)
The specified parameter for the add-on name is invalid. Review the available parameters for the API request
addonName
- The specified parameter for the add-on name is invalid. Review the available parameters for the API
requestpublic 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 InvalidParameterException withSubscriptionId(String subscriptionId)
The Amazon EKS subscription ID with the exception.
subscriptionId
- The Amazon EKS subscription ID with the exception.