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 GetDownloadUrlForLayerResult
clone()
boolean
equals(Object obj)
String
getDownloadUrl()
The pre-signed Amazon S3 download URL for the requested layer.String
getLayerDigest()
The digest of the image layer to download.int
hashCode()
void
setDownloadUrl(String downloadUrl)
The pre-signed Amazon S3 download URL for the requested layer.void
setLayerDigest(String layerDigest)
The digest of the image layer to download.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetDownloadUrlForLayerResult
withDownloadUrl(String downloadUrl)
The pre-signed Amazon S3 download URL for the requested layer.GetDownloadUrlForLayerResult
withLayerDigest(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetDownloadUrlForLayerResult clone()
-
-