@Generated(value="software.amazon.awssdk:codegen") public final class FileContentAndSourceFileSpecifiedException extends CodeCommitException implements ToCopyableBuilder<FileContentAndSourceFileSpecifiedException.Builder,FileContentAndSourceFileSpecifiedException>
The commit cannot be created because both a source file and file content have been specified for the same file. You cannot provide both. Either specify a source file or provide the file content directly.
Modifier and Type | Class and Description |
---|---|
static interface |
FileContentAndSourceFileSpecifiedException.Builder |
Modifier and Type | Method and Description |
---|---|
static FileContentAndSourceFileSpecifiedException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FileContentAndSourceFileSpecifiedException.Builder> |
serializableBuilderClass() |
FileContentAndSourceFileSpecifiedException.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 FileContentAndSourceFileSpecifiedException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<FileContentAndSourceFileSpecifiedException.Builder,FileContentAndSourceFileSpecifiedException>
toBuilder
in class CodeCommitException
public static FileContentAndSourceFileSpecifiedException.Builder builder()
public static Class<? extends FileContentAndSourceFileSpecifiedException.Builder> serializableBuilderClass()