@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidRequestException extends AmazonEKSException
The request is invalid given the state of the cluster. Check the state of the cluster and the associated operations.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidRequestException(String message)
Constructs a new InvalidRequestException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterName()
The Amazon EKS cluster associated with the exception.
|
String |
getNodegroupName()
The Amazon EKS managed node group 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.
|
InvalidRequestException |
withClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
|
InvalidRequestException |
withNodegroupName(String nodegroupName)
The Amazon EKS managed node group associated with the exception.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidRequestException(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 InvalidRequestException 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 InvalidRequestException withNodegroupName(String nodegroupName)
The Amazon EKS managed node group associated with the exception.
nodegroupName - The Amazon EKS managed node group associated with the exception.Copyright © 2020. All rights reserved.