@Generated(value="software.amazon.awssdk:codegen") public final class BranchNameExistsException extends CodeCommitException implements ToCopyableBuilder<BranchNameExistsException.Builder,BranchNameExistsException>
Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name. Branch names must be unique.
Modifier and Type | Class and Description |
---|---|
static interface |
BranchNameExistsException.Builder |
Modifier and Type | Method and Description |
---|---|
static BranchNameExistsException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BranchNameExistsException.Builder> |
serializableBuilderClass() |
BranchNameExistsException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public BranchNameExistsException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<BranchNameExistsException.Builder,BranchNameExistsException>
toBuilder
in class CodeCommitException
public static BranchNameExistsException.Builder builder()
public static Class<? extends BranchNameExistsException.Builder> serializableBuilderClass()