@Generated(value="software.amazon.awssdk:codegen") public final 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. For more information, see CreateReusableDelegationSet.
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 and Description |
---|---|
static interface |
ConflictingDomainExistsException.Builder |
Modifier and Type | Method and Description |
---|---|
static ConflictingDomainExistsException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConflictingDomainExistsException.Builder> |
serializableBuilderClass() |
ConflictingDomainExistsException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public ConflictingDomainExistsException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<ConflictingDomainExistsException.Builder,ConflictingDomainExistsException>
toBuilder
in class Route53Exception
public static ConflictingDomainExistsException.Builder builder()
public static Class<? extends ConflictingDomainExistsException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.