@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerException extends AmazonEKSException
These errors are usually caused by a server-side issue.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServerException(String message)
Constructs a new ServerException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterName()
The Amazon EKS cluster associated with the exception.
|
void |
setClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
|
ServerException |
withClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServerException(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 ServerException withClusterName(String clusterName)
The Amazon EKS cluster associated with the exception.
clusterName
- The Amazon EKS cluster associated with the exception.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.