@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidLayerPartException extends AmazonECRPublicException
The layer part size isn't valid, or the first byte specified isn't consecutive to the last byte of a previous layer part upload.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidLayerPartException(String message)
Constructs a new InvalidLayerPartException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
Long |
getLastValidByteReceived()
The position of the last byte of the layer part.
|
String |
getRegistryId()
The Amazon Web Services account ID that's associated with the layer part.
|
String |
getRepositoryName()
The name of the repository.
|
String |
getUploadId()
The upload ID that's associated with the layer part.
|
void |
setLastValidByteReceived(Long lastValidByteReceived)
The position of the last byte of the layer part.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID that's associated with the layer part.
|
void |
setRepositoryName(String repositoryName)
The name of the repository.
|
void |
setUploadId(String uploadId)
The upload ID that's associated with the layer part.
|
InvalidLayerPartException |
withLastValidByteReceived(Long lastValidByteReceived)
The position of the last byte of the layer part.
|
InvalidLayerPartException |
withRegistryId(String registryId)
The Amazon Web Services account ID that's associated with the layer part.
|
InvalidLayerPartException |
withRepositoryName(String repositoryName)
The name of the repository.
|
InvalidLayerPartException |
withUploadId(String uploadId)
The upload ID that's associated with the layer part.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidLayerPartException(String message)
message
- Describes the error encountered.public void setRegistryId(String registryId)
The Amazon Web Services account ID that's associated with the layer part.
registryId
- The Amazon Web Services account ID that's associated with the layer part.public String getRegistryId()
The Amazon Web Services account ID that's associated with the layer part.
public InvalidLayerPartException withRegistryId(String registryId)
The Amazon Web Services account ID that's associated with the layer part.
registryId
- The Amazon Web Services account ID that's associated with the layer part.public void setRepositoryName(String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public String getRepositoryName()
The name of the repository.
public InvalidLayerPartException withRepositoryName(String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public void setUploadId(String uploadId)
The upload ID that's associated with the layer part.
uploadId
- The upload ID that's associated with the layer part.public String getUploadId()
The upload ID that's associated with the layer part.
public InvalidLayerPartException withUploadId(String uploadId)
The upload ID that's associated with the layer part.
uploadId
- The upload ID that's associated with the layer part.public void setLastValidByteReceived(Long lastValidByteReceived)
The position of the last byte of the layer part.
lastValidByteReceived
- The position of the last byte of the layer part.public Long getLastValidByteReceived()
The position of the last byte of the layer part.
public InvalidLayerPartException withLastValidByteReceived(Long lastValidByteReceived)
The position of the last byte of the layer part.
lastValidByteReceived
- The position of the last byte of the layer part.