Serializable, ToCopyableBuilder<ConflictingDomainExistsException.Builder,ConflictingDomainExistsException>@Generated("software.amazon.awssdk:codegen") public class ConflictingDomainExistsException extends Route53Exception implements ToCopyableBuilder<ConflictingDomainExistsException.Builder,ConflictingDomainExistsException>
The cause of this error depends on whether you're trying to create a public or a private hosted zone:
Public hosted zone: Two hosted zones that have the same name or that have a parent/child relationship (example.com and test.example.com) can't have any common name servers. You tried to create a hosted zone that has the same name as an existing hosted zone or that's the parent or child of an existing hosted zone, and you specified a delegation set that shares one or more name servers with the existing hosted zone.
Private hosted zone: You specified an Amazon VPC that you're already using for another hosted zone, and the domain that you specified for one of the hosted zones is a subdomain of the domain that you specified for the other hosted zone. For example, you can't use the same Amazon VPC for the hosted zones for example.com and test.example.com.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
ConflictingDomainExistsException.Builder |
AmazonServiceException.ErrorType| Modifier and Type | Method | Description |
|---|---|---|
static ConflictingDomainExistsException.Builder |
builder() |
|
static Class<? extends ConflictingDomainExistsException.Builder> |
serializableBuilderClass() |
|
ConflictingDomainExistsException.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
isRetryablegetErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConflictingDomainExistsException.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ConflictingDomainExistsException.Builder,ConflictingDomainExistsException>public static ConflictingDomainExistsException.Builder builder()
public static Class<? extends ConflictingDomainExistsException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.