@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NamespaceAlreadyExistsException extends AWSServiceDiscoveryException
The namespace that you're trying to create already exists.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
NamespaceAlreadyExistsException(String message)
Constructs a new NamespaceAlreadyExistsException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCreatorRequestId()
The
CreatorRequestId that was used to create the namespace. |
String |
getNamespaceId()
The ID of the existing namespace.
|
void |
setCreatorRequestId(String creatorRequestId)
The
CreatorRequestId that was used to create the namespace. |
void |
setNamespaceId(String namespaceId)
The ID of the existing namespace.
|
NamespaceAlreadyExistsException |
withCreatorRequestId(String creatorRequestId)
The
CreatorRequestId that was used to create the namespace. |
NamespaceAlreadyExistsException |
withNamespaceId(String namespaceId)
The ID of the existing namespace.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NamespaceAlreadyExistsException(String message)
message - Describes the error encountered.public void setCreatorRequestId(String creatorRequestId)
The CreatorRequestId that was used to create the namespace.
creatorRequestId - The CreatorRequestId that was used to create the namespace.public String getCreatorRequestId()
The CreatorRequestId that was used to create the namespace.
CreatorRequestId that was used to create the namespace.public NamespaceAlreadyExistsException withCreatorRequestId(String creatorRequestId)
The CreatorRequestId that was used to create the namespace.
creatorRequestId - The CreatorRequestId that was used to create the namespace.public void setNamespaceId(String namespaceId)
The ID of the existing namespace.
namespaceId - The ID of the existing namespace.public String getNamespaceId()
The ID of the existing namespace.
public NamespaceAlreadyExistsException withNamespaceId(String namespaceId)
The ID of the existing namespace.
namespaceId - The ID of the existing namespace.