@Generated(value="software.amazon.awssdk:codegen") public final class SourceAndDestinationAreSameException extends CodeCommitException implements ToCopyableBuilder<SourceAndDestinationAreSameException.Builder,SourceAndDestinationAreSameException>
The source branch and the destination branch for the pull request are the same. You must specify different branches for the source and destination.
Modifier and Type | Class and Description |
---|---|
static interface |
SourceAndDestinationAreSameException.Builder |
Modifier and Type | Method and Description |
---|---|
static SourceAndDestinationAreSameException.Builder |
builder() |
static Class<? extends SourceAndDestinationAreSameException.Builder> |
serializableBuilderClass() |
SourceAndDestinationAreSameException.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 SourceAndDestinationAreSameException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<SourceAndDestinationAreSameException.Builder,SourceAndDestinationAreSameException>
toBuilder
in class CodeCommitException
public static SourceAndDestinationAreSameException.Builder builder()
public static Class<? extends SourceAndDestinationAreSameException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.