public class Layer
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
layerAvailability
The availability status of the image layer.
|
private java.lang.String |
layerDigest
The
sha256 digest of the image layer. |
private java.lang.Long |
layerSize
The size, in bytes, of the image layer.
|
Constructor and Description |
---|
Layer() |
Modifier and Type | Method and Description |
---|---|
Layer |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLayerAvailability()
The availability status of the image layer.
|
java.lang.String |
getLayerDigest()
The
sha256 digest of the image layer. |
java.lang.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(java.lang.String layerAvailability)
The availability status of the image layer.
|
void |
setLayerDigest(java.lang.String layerDigest)
The
sha256 digest of the image layer. |
void |
setLayerSize(java.lang.Long layerSize)
The size, in bytes, of the image layer.
|
java.lang.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(java.lang.String layerAvailability)
The availability status of the image layer.
|
Layer |
withLayerDigest(java.lang.String layerDigest)
The
sha256 digest of the image layer. |
Layer |
withLayerSize(java.lang.Long layerSize)
The size, in bytes, of the image layer.
|
private java.lang.String layerDigest
The sha256
digest of the image layer.
private java.lang.String layerAvailability
The availability status of the image layer. Valid values are
AVAILABLE
and UNAVAILABLE
.
private java.lang.Long layerSize
The size, in bytes, of the image layer.
public void setLayerDigest(java.lang.String layerDigest)
The sha256
digest of the image layer.
layerDigest
- The sha256
digest of the image layer.public java.lang.String getLayerDigest()
The sha256
digest of the image layer.
sha256
digest of the image layer.public Layer withLayerDigest(java.lang.String layerDigest)
The sha256
digest of the image layer.
layerDigest
- The sha256
digest of the image layer.public void setLayerAvailability(java.lang.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 java.lang.String getLayerAvailability()
The availability status of the image layer. Valid values are
AVAILABLE
and UNAVAILABLE
.
AVAILABLE
and UNAVAILABLE
.LayerAvailability
public Layer withLayerAvailability(java.lang.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(java.lang.Long layerSize)
The size, in bytes, of the image layer.
layerSize
- The size, in bytes, of the image layer.public java.lang.Long getLayerSize()
The size, in bytes, of the image layer.
public Layer withLayerSize(java.lang.Long layerSize)
The size, in bytes, of the image layer.
layerSize
- The size, in bytes, of the image layer.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Layer clone()
clone
in class java.lang.Object