public class NetworkInterfaceLimitExceededException extends AmazonServiceException
The calling account has reached the ENI limit for the specific AWS region. Client should try to delete some ENIs or get its account limit raised. For more information, go to Amazon VPC Limits in the Amazon Virtual Private Cloud User Guide (see the Network interfaces per VPC entry in the table).
AmazonServiceException.ErrorType| Constructor and Description |
|---|
NetworkInterfaceLimitExceededException(String message)
Constructs a new NetworkInterfaceLimitExceededException with the
specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Returns the value of the ErrorCode property for this object.
|
void |
setErrorCode(String errorCode)
Sets the value of the ErrorCode property for this object.
|
NetworkInterfaceLimitExceededException |
withErrorCode(String errorCode)
Sets the value of the ErrorCode property for this object.
|
getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NetworkInterfaceLimitExceededException(String message)
message - Describes the error encountered.public void setErrorCode(String errorCode)
setErrorCode in class AmazonServiceExceptionerrorCode - The new value for the ErrorCode property for this object.public String getErrorCode()
getErrorCode in class AmazonServiceExceptionpublic NetworkInterfaceLimitExceededException withErrorCode(String errorCode)
errorCode - The new value for the ErrorCode property for this object.Copyright © 2015. All rights reserved.