Class InvalidLayerPartException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.AmazonClientException
-
- com.amazonaws.AmazonServiceException
-
- com.amazonaws.services.ecr.model.InvalidLayerPartException
-
- All Implemented Interfaces:
Serializable
public class InvalidLayerPartException extends AmazonServiceException
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/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
-
Constructor Summary
Constructors Constructor Description InvalidLayerPartException(String message)
Constructs a new InvalidLayerPartException with the specified error message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
-
Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidLayerPartException
public InvalidLayerPartException(String message)
Constructs a new InvalidLayerPartException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-
Method Detail
-
setRegistryId
public void setRegistryId(String registryId)
The registry ID associated with the exception.
- Parameters:
registryId
- The registry ID associated with the exception.
-
getRegistryId
public String getRegistryId()
The registry ID associated with the exception.
- Returns:
- The registry ID associated with the exception.
-
withRegistryId
public InvalidLayerPartException withRegistryId(String registryId)
The registry ID associated with the exception.
- Parameters:
registryId
- The registry ID associated with the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRepositoryName
public void setRepositoryName(String repositoryName)
The repository name associated with the exception.
- Parameters:
repositoryName
- The repository name associated with the exception.
-
getRepositoryName
public String getRepositoryName()
The repository name associated with the exception.
- Returns:
- The repository name associated with the exception.
-
withRepositoryName
public InvalidLayerPartException withRepositoryName(String repositoryName)
The repository name associated with the exception.
- Parameters:
repositoryName
- The repository name associated with the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUploadId
public void setUploadId(String uploadId)
The upload ID associated with the exception.
- Parameters:
uploadId
- The upload ID associated with the exception.
-
getUploadId
public String getUploadId()
The upload ID associated with the exception.
- Returns:
- The upload ID associated with the exception.
-
withUploadId
public InvalidLayerPartException withUploadId(String uploadId)
The upload ID associated with the exception.
- Parameters:
uploadId
- The upload ID associated with the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastValidByteReceived
public void setLastValidByteReceived(Long lastValidByteReceived)
The last valid byte received from the layer part upload that is associated with the exception.
- Parameters:
lastValidByteReceived
- The last valid byte received from the layer part upload that is associated with the exception.
-
getLastValidByteReceived
public Long getLastValidByteReceived()
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.
-
withLastValidByteReceived
public InvalidLayerPartException withLastValidByteReceived(Long lastValidByteReceived)
The last valid byte received from the layer part upload that is associated with the exception.
- Parameters:
lastValidByteReceived
- The last valid byte received from the layer part upload that is associated with the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-