Package com.amazonaws.services.ecr.model
Class GetDownloadUrlForLayerResult
- java.lang.Object
-
- com.amazonaws.services.ecr.model.GetDownloadUrlForLayerResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetDownloadUrlForLayerResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetDownloadUrlForLayerResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDownloadUrlForLayerResultclone()booleanequals(Object obj)StringgetDownloadUrl()The pre-signed Amazon S3 download URL for the requested layer.StringgetLayerDigest()The digest of the image layer to download.inthashCode()voidsetDownloadUrl(String downloadUrl)The pre-signed Amazon S3 download URL for the requested layer.voidsetLayerDigest(String layerDigest)The digest of the image layer to download.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetDownloadUrlForLayerResultwithDownloadUrl(String downloadUrl)The pre-signed Amazon S3 download URL for the requested layer.GetDownloadUrlForLayerResultwithLayerDigest(String layerDigest)The digest of the image layer to download.
-
-
-
Method Detail
-
setDownloadUrl
public void setDownloadUrl(String downloadUrl)
The pre-signed Amazon S3 download URL for the requested layer.
- Parameters:
downloadUrl- The pre-signed Amazon S3 download URL for the requested layer.
-
getDownloadUrl
public String getDownloadUrl()
The pre-signed Amazon S3 download URL for the requested layer.
- Returns:
- The pre-signed Amazon S3 download URL for the requested layer.
-
withDownloadUrl
public GetDownloadUrlForLayerResult withDownloadUrl(String downloadUrl)
The pre-signed Amazon S3 download URL for the requested layer.
- Parameters:
downloadUrl- The pre-signed Amazon S3 download URL for the requested layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLayerDigest
public void setLayerDigest(String layerDigest)
The digest of the image layer to download.
- Parameters:
layerDigest- The digest of the image layer to download.
-
getLayerDigest
public String getLayerDigest()
The digest of the image layer to download.
- Returns:
- The digest of the image layer to download.
-
withLayerDigest
public GetDownloadUrlForLayerResult withLayerDigest(String layerDigest)
The digest of the image layer to download.
- Parameters:
layerDigest- The digest of the image layer to download.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetDownloadUrlForLayerResult clone()
-
-