Package com.amazonaws.services.ecr.model
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()
boolean
The availability status of the image layer.Thesha256
digest of the image layer.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.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) Thesha256
digest of the image layer.withLayerSize
(Long layerSize) The size, in bytes, of the image layer.
-
Constructor Details
-
Layer
public Layer()
-
-
Method Details
-
setLayerDigest
The
sha256
digest of the image layer.- Parameters:
layerDigest
- Thesha256
digest of the image layer.
-
getLayerDigest
The
sha256
digest of the image layer.- Returns:
- The
sha256
digest of the image layer.
-
withLayerDigest
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
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:
-
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:
-
withLayerAvailability
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:
-
setLayerAvailability
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:
-
withLayerAvailability
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:
-
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-