Class Layer
java.lang.Object
com.amazonaws.services.ecr.model.Layer
- All Implemented Interfaces:
Serializable, Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe availability status of the image layer.Thesha256digest of the image layer.The size, in bytes, of the image layer.inthashCode()voidsetLayerAvailability(LayerAvailability layerAvailability) The availability status of the image layer.voidsetLayerAvailability(String layerAvailability) The availability status of the image layer.voidsetLayerDigest(String layerDigest) Thesha256digest of the image layer.voidsetLayerSize(Long layerSize) The size, in bytes, of the image layer.toString()Returns a string representation of this object; useful for testing and debugging.withLayerAvailability(LayerAvailability layerAvailability) The availability status of the image layer.withLayerAvailability(String layerAvailability) The availability status of the image layer.withLayerDigest(String layerDigest) Thesha256digest of the image layer.withLayerSize(Long layerSize) The size, in bytes, of the image layer.
-
Constructor Details
-
Layer
public Layer()
-
-
Method Details
-
setLayerDigest
The
sha256digest of the image layer.- Parameters:
layerDigest- Thesha256digest of the image layer.
-
getLayerDigest
The
sha256digest of the image layer.- Returns:
- The
sha256digest of the image layer.
-
withLayerDigest
-
setLayerAvailability
The availability status of the image layer. Valid values are
AVAILABLEandUNAVAILABLE.- Parameters:
layerAvailability- The availability status of the image layer. Valid values areAVAILABLEandUNAVAILABLE.- See Also:
-
getLayerAvailability
The availability status of the image layer. Valid values are
AVAILABLEandUNAVAILABLE.- Returns:
- The availability status of the image layer. Valid values are
AVAILABLEandUNAVAILABLE. - See Also:
-
withLayerAvailability
The availability status of the image layer. Valid values are
AVAILABLEandUNAVAILABLE.- Parameters:
layerAvailability- The availability status of the image layer. Valid values areAVAILABLEandUNAVAILABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setLayerAvailability
The availability status of the image layer. Valid values are
AVAILABLEandUNAVAILABLE.- Parameters:
layerAvailability- The availability status of the image layer. Valid values areAVAILABLEandUNAVAILABLE.- See Also:
-
withLayerAvailability
The availability status of the image layer. Valid values are
AVAILABLEandUNAVAILABLE.- Parameters:
layerAvailability- The availability status of the image layer. Valid values areAVAILABLEandUNAVAILABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setLayerSize
The size, in bytes, of the image layer.
- Parameters:
layerSize- The size, in bytes, of the image layer.
-
getLayerSize
The size, in bytes, of the image layer.
- Returns:
- The size, in bytes, of the image layer.
-
withLayerSize
-
toString
-
equals
-
hashCode
-
clone
-