public class Layer extends Object implements Serializable, Cloneable
An object representing an Amazon ECR image layer.
Constructor and Description |
---|
Layer() |
Modifier and Type | Method and Description |
---|---|
Layer |
clone() |
boolean |
equals(Object obj) |
String |
getLayerAvailability()
The availability status of the image layer.
|
String |
getLayerDigest()
The
sha256 digest of the image layer. |
Long |
getLayerSize()
The size, in bytes, of the image layer.
|
int |
hashCode() |
void |
setLayerAvailability(LayerAvailability layerAvailability)
The availability status of the image layer.
|
void |
setLayerAvailability(String layerAvailability)
The availability status of the image layer.
|
void |
setLayerDigest(String layerDigest)
The
sha256 digest of the image layer. |
void |
setLayerSize(Long layerSize)
The size, in bytes, of the image layer.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Layer |
withLayerAvailability(LayerAvailability layerAvailability)
The availability status of the image layer.
|
Layer |
withLayerAvailability(String layerAvailability)
The availability status of the image layer.
|
Layer |
withLayerDigest(String layerDigest)
The
sha256 digest of the image layer. |
Layer |
withLayerSize(Long layerSize)
The size, in bytes, of the image layer.
|
public void setLayerDigest(String layerDigest)
The sha256
digest of the image layer.
layerDigest
- The sha256
digest of the image layer.public String getLayerDigest()
The sha256
digest of the image layer.
sha256
digest of the image layer.public Layer withLayerDigest(String layerDigest)
The sha256
digest of the image layer.
layerDigest
- The sha256
digest of the image layer.public void setLayerAvailability(String layerAvailability)
The availability status of the image layer. Valid values are AVAILABLE
and UNAVAILABLE
.
layerAvailability
- The availability status of the image layer. Valid values are AVAILABLE
and
UNAVAILABLE
.LayerAvailability
public String getLayerAvailability()
The availability status of the image layer. Valid values are AVAILABLE
and UNAVAILABLE
.
AVAILABLE
and
UNAVAILABLE
.LayerAvailability
public Layer withLayerAvailability(String layerAvailability)
The availability status of the image layer. Valid values are AVAILABLE
and UNAVAILABLE
.
layerAvailability
- The availability status of the image layer. Valid values are AVAILABLE
and
UNAVAILABLE
.LayerAvailability
public void setLayerAvailability(LayerAvailability layerAvailability)
The availability status of the image layer. Valid values are AVAILABLE
and UNAVAILABLE
.
layerAvailability
- The availability status of the image layer. Valid values are AVAILABLE
and
UNAVAILABLE
.LayerAvailability
public Layer withLayerAvailability(LayerAvailability layerAvailability)
The availability status of the image layer. Valid values are AVAILABLE
and UNAVAILABLE
.
layerAvailability
- The availability status of the image layer. Valid values are AVAILABLE
and
UNAVAILABLE
.LayerAvailability
public void setLayerSize(Long layerSize)
The size, in bytes, of the image layer.
layerSize
- The size, in bytes, of the image layer.public Long getLayerSize()
The size, in bytes, of the image layer.
public Layer withLayerSize(Long layerSize)
The size, in bytes, of the image layer.
layerSize
- The size, in bytes, of the image layer.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.