@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidLayerPartException extends AmazonECRException
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.
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 last valid byte received from the layer part upload that is associated with the exception.
|
String |
getRegistryId()
The registry ID associated with the exception.
|
String |
getRepositoryName()
The repository name associated with the exception.
|
String |
getUploadId()
The upload ID associated with the exception.
|
void |
setLastValidByteReceived(Long lastValidByteReceived)
The last valid byte received from the layer part upload that is associated with the exception.
|
void |
setRegistryId(String registryId)
The registry ID associated with the exception.
|
void |
setRepositoryName(String repositoryName)
The repository name associated with the exception.
|
void |
setUploadId(String uploadId)
The upload ID associated with the exception.
|
InvalidLayerPartException |
withLastValidByteReceived(Long lastValidByteReceived)
The last valid byte received from the layer part upload that is associated with the exception.
|
InvalidLayerPartException |
withRegistryId(String registryId)
The registry ID associated with the exception.
|
InvalidLayerPartException |
withRepositoryName(String repositoryName)
The repository name associated with the exception.
|
InvalidLayerPartException |
withUploadId(String uploadId)
The upload ID associated with the exception.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, 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 registry ID associated with the exception.
registryId
- The registry ID associated with the exception.public String getRegistryId()
The registry ID associated with the exception.
public InvalidLayerPartException withRegistryId(String registryId)
The registry ID associated with the exception.
registryId
- The registry ID associated with the exception.public void setRepositoryName(String repositoryName)
The repository name associated with the exception.
repositoryName
- The repository name associated with the exception.public String getRepositoryName()
The repository name associated with the exception.
public InvalidLayerPartException withRepositoryName(String repositoryName)
The repository name associated with the exception.
repositoryName
- The repository name associated with the exception.public void setUploadId(String uploadId)
The upload ID associated with the exception.
uploadId
- The upload ID associated with the exception.public String getUploadId()
The upload ID associated with the exception.
public InvalidLayerPartException withUploadId(String uploadId)
The upload ID associated with the exception.
uploadId
- The upload ID associated with the exception.public void setLastValidByteReceived(Long lastValidByteReceived)
The last valid byte received from the layer part upload that is associated with the exception.
lastValidByteReceived
- The last valid byte received from the layer part upload that is associated with the exception.public Long getLastValidByteReceived()
The last valid byte received from the layer part upload that is associated with the exception.
public InvalidLayerPartException withLastValidByteReceived(Long lastValidByteReceived)
The last valid byte received from the layer part upload that is associated with the exception.
lastValidByteReceived
- The last valid byte received from the layer part upload that is associated with the exception.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.