Class InvalidLayerPartException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.core.exception.SdkException
-
- software.amazon.awssdk.core.exception.SdkServiceException
-
- software.amazon.awssdk.awscore.exception.AwsServiceException
-
- software.amazon.awssdk.services.ecr.model.EcrException
-
- software.amazon.awssdk.services.ecr.model.InvalidLayerPartException
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InvalidLayerPartException.Builder,InvalidLayerPartException>
@Generated("software.amazon.awssdk:codegen") public final class InvalidLayerPartException extends EcrException implements ToCopyableBuilder<InvalidLayerPartException.Builder,InvalidLayerPartException>
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInvalidLayerPartException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidLayerPartException.Builderbuilder()LonglastValidByteReceived()The last valid byte received from the layer part upload that is associated with the exception.StringregistryId()The registry ID associated with the exception.StringrepositoryName()The repository name associated with the exception.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InvalidLayerPartException.Builder>serializableBuilderClass()InvalidLayerPartException.BuildertoBuilder()StringuploadId()The upload ID associated with the exception.-
Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, isRetryableException, requestId, statusCode
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
create, retryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
toBuilder
public InvalidLayerPartException.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InvalidLayerPartException.Builder,InvalidLayerPartException>- Overrides:
toBuilderin classEcrException
-
builder
public static InvalidLayerPartException.Builder builder()
-
serializableBuilderClass
public static Class<? extends InvalidLayerPartException.Builder> serializableBuilderClass()
-
registryId
public String registryId()
The registry ID associated with the exception.
- Returns:
- The registry ID associated with the exception.
-
repositoryName
public String repositoryName()
The repository name associated with the exception.
- Returns:
- The repository name associated with the exception.
-
uploadId
public String uploadId()
The upload ID associated with the exception.
- Returns:
- The upload ID associated with the exception.
-
lastValidByteReceived
public Long lastValidByteReceived()
The last valid byte received from the layer part upload that is associated with the exception.
- Returns:
- The last valid byte received from the layer part upload that is associated with the exception.
-
sdkFields
public final List<SdkField<?>> sdkFields()
- Specified by:
sdkFieldsin interfaceSdkPojo- Overrides:
sdkFieldsin classSdkServiceException
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-