Package com.amazonaws.services.ecr.model
Class LayerFailure
java.lang.Object
com.amazonaws.services.ecr.model.LayerFailure
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The failure code associated with the failure.The reason for the failure.The layer digest associated with the failure.int
hashCode()
void
setFailureCode
(LayerFailureCode failureCode) The failure code associated with the failure.void
setFailureCode
(String failureCode) The failure code associated with the failure.void
setFailureReason
(String failureReason) The reason for the failure.void
setLayerDigest
(String layerDigest) The layer digest associated with the failure.toString()
Returns a string representation of this object; useful for testing and debugging.withFailureCode
(LayerFailureCode failureCode) The failure code associated with the failure.withFailureCode
(String failureCode) The failure code associated with the failure.withFailureReason
(String failureReason) The reason for the failure.withLayerDigest
(String layerDigest) The layer digest associated with the failure.
-
Constructor Details
-
LayerFailure
public LayerFailure()
-
-
Method Details
-
setLayerDigest
The layer digest associated with the failure.
- Parameters:
layerDigest
- The layer digest associated with the failure.
-
getLayerDigest
The layer digest associated with the failure.
- Returns:
- The layer digest associated with the failure.
-
withLayerDigest
The layer digest associated with the failure.
- Parameters:
layerDigest
- The layer digest associated with the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFailureCode
The failure code associated with the failure.
- Parameters:
failureCode
- The failure code associated with the failure.- See Also:
-
getFailureCode
The failure code associated with the failure.
- Returns:
- The failure code associated with the failure.
- See Also:
-
withFailureCode
The failure code associated with the failure.
- Parameters:
failureCode
- The failure code associated with the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setFailureCode
The failure code associated with the failure.
- Parameters:
failureCode
- The failure code associated with the failure.- See Also:
-
withFailureCode
The failure code associated with the failure.
- Parameters:
failureCode
- The failure code associated with the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setFailureReason
The reason for the failure.
- Parameters:
failureReason
- The reason for the failure.
-
getFailureReason
The reason for the failure.
- Returns:
- The reason for the failure.
-
withFailureReason
The reason for the failure.
- Parameters:
failureReason
- The reason for the failure.- 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
-