Package com.amazonaws.services.ecr.model
Class Layer
- java.lang.Object
-
- com.amazonaws.services.ecr.model.Layer
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Layer extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Layer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Layer
clone()
boolean
equals(Object obj)
String
getLayerAvailability()
The availability status of the image layer.String
getLayerDigest()
Thesha256
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)
Thesha256
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)
Thesha256
digest of the image layer.Layer
withLayerSize(Long layerSize)
The size, in bytes, of the image layer.
-
-
-
Method Detail
-
setLayerDigest
public void setLayerDigest(String layerDigest)
The
sha256
digest of the image layer.- Parameters:
layerDigest
- Thesha256
digest of the image layer.
-
getLayerDigest
public String getLayerDigest()
The
sha256
digest of the image layer.- Returns:
- The
sha256
digest of the image layer.
-
withLayerDigest
public Layer withLayerDigest(String layerDigest)
The
sha256
digest of the image layer.- Parameters:
layerDigest
- Thesha256
digest of the image layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLayerAvailability
public void setLayerAvailability(String layerAvailability)
The availability status of the image layer. Valid values are
AVAILABLE
andUNAVAILABLE
.- Parameters:
layerAvailability
- The availability status of the image layer. Valid values areAVAILABLE
andUNAVAILABLE
.- See Also:
LayerAvailability
-
getLayerAvailability
public String getLayerAvailability()
The availability status of the image layer. Valid values are
AVAILABLE
andUNAVAILABLE
.- Returns:
- The availability status of the image layer. Valid values are
AVAILABLE
andUNAVAILABLE
. - See Also:
LayerAvailability
-
withLayerAvailability
public Layer withLayerAvailability(String layerAvailability)
The availability status of the image layer. Valid values are
AVAILABLE
andUNAVAILABLE
.- Parameters:
layerAvailability
- The availability status of the image layer. Valid values areAVAILABLE
andUNAVAILABLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LayerAvailability
-
setLayerAvailability
public void setLayerAvailability(LayerAvailability layerAvailability)
The availability status of the image layer. Valid values are
AVAILABLE
andUNAVAILABLE
.- Parameters:
layerAvailability
- The availability status of the image layer. Valid values areAVAILABLE
andUNAVAILABLE
.- See Also:
LayerAvailability
-
withLayerAvailability
public Layer withLayerAvailability(LayerAvailability layerAvailability)
The availability status of the image layer. Valid values are
AVAILABLE
andUNAVAILABLE
.- Parameters:
layerAvailability
- The availability status of the image layer. Valid values areAVAILABLE
andUNAVAILABLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LayerAvailability
-
setLayerSize
public void setLayerSize(Long layerSize)
The size, in bytes, of the image layer.
- Parameters:
layerSize
- The size, in bytes, of the image layer.
-
getLayerSize
public Long getLayerSize()
The size, in bytes, of the image layer.
- Returns:
- The size, in bytes, of the image layer.
-
withLayerSize
public Layer withLayerSize(Long layerSize)
The size, in bytes, of the image layer.
- Parameters:
layerSize
- The size, in bytes, of the image layer.- 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()
-
-