@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AmazonEKSException
The specified resource could not be found. You can view your available clusters with ListClusters. You can view your available managed node groups with ListNodegroups. Amazon EKS clusters and node groups are Region-specific.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
ResourceNotFoundException(String message)
Constructs a new ResourceNotFoundException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterName()
The Amazon EKS cluster associated with the exception.
|
String |
getNodegroupName() |
void |
setClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
|
void |
setNodegroupName(String nodegroupName) |
ResourceNotFoundException |
withClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
|
ResourceNotFoundException |
withNodegroupName(String nodegroupName) |
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 ResourceNotFoundException(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 ResourceNotFoundException 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)
nodegroupName - public String getNodegroupName()
public ResourceNotFoundException withNodegroupName(String nodegroupName)
nodegroupName - Copyright © 2019. All rights reserved.