@Generated(value="software.amazon.awssdk:codegen") public class DefaultBranchCannotBeDeletedException extends CodeCommitException implements ToCopyableBuilder<DefaultBranchCannotBeDeletedException.Builder,DefaultBranchCannotBeDeletedException>
The specified branch is the default branch for the repository, and cannot be deleted. To delete this branch, you must first set another branch as the default branch.
Modifier and Type | Class and Description |
---|---|
static interface |
DefaultBranchCannotBeDeletedException.Builder |
Modifier and Type | Method and Description |
---|---|
static DefaultBranchCannotBeDeletedException.Builder |
builder() |
static Class<? extends DefaultBranchCannotBeDeletedException.Builder> |
serializableBuilderClass() |
DefaultBranchCannotBeDeletedException.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
additionalThrottlingCondition, isClockSkewException
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, isThrottlingException, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public DefaultBranchCannotBeDeletedException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DefaultBranchCannotBeDeletedException.Builder,DefaultBranchCannotBeDeletedException>
public static DefaultBranchCannotBeDeletedException.Builder builder()
public static Class<? extends DefaultBranchCannotBeDeletedException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.