public class LayerFailure
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
failureCode
The failure code associated with the failure.
|
private java.lang.String |
failureReason
The reason for the failure.
|
private java.lang.String |
layerDigest
The layer digest associated with the failure.
|
Constructor and Description |
---|
LayerFailure() |
Modifier and Type | Method and Description |
---|---|
LayerFailure |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFailureCode()
The failure code associated with the failure.
|
java.lang.String |
getFailureReason()
The reason for the failure.
|
java.lang.String |
getLayerDigest()
The layer digest associated with the failure.
|
int |
hashCode() |
void |
setFailureCode(LayerFailureCode failureCode)
The failure code associated with the failure.
|
void |
setFailureCode(java.lang.String failureCode)
The failure code associated with the failure.
|
void |
setFailureReason(java.lang.String failureReason)
The reason for the failure.
|
void |
setLayerDigest(java.lang.String layerDigest)
The layer digest associated with the failure.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LayerFailure |
withFailureCode(LayerFailureCode failureCode)
The failure code associated with the failure.
|
LayerFailure |
withFailureCode(java.lang.String failureCode)
The failure code associated with the failure.
|
LayerFailure |
withFailureReason(java.lang.String failureReason)
The reason for the failure.
|
LayerFailure |
withLayerDigest(java.lang.String layerDigest)
The layer digest associated with the failure.
|
private java.lang.String layerDigest
The layer digest associated with the failure.
private java.lang.String failureCode
The failure code associated with the failure.
private java.lang.String failureReason
The reason for the failure.
public void setLayerDigest(java.lang.String layerDigest)
The layer digest associated with the failure.
layerDigest
- The layer digest associated with the failure.public java.lang.String getLayerDigest()
The layer digest associated with the failure.
public LayerFailure withLayerDigest(java.lang.String layerDigest)
The layer digest associated with the failure.
layerDigest
- The layer digest associated with the failure.public void setFailureCode(java.lang.String failureCode)
The failure code associated with the failure.
failureCode
- The failure code associated with the failure.LayerFailureCode
public java.lang.String getFailureCode()
The failure code associated with the failure.
LayerFailureCode
public LayerFailure withFailureCode(java.lang.String failureCode)
The failure code associated with the failure.
failureCode
- The failure code associated with the failure.LayerFailureCode
public void setFailureCode(LayerFailureCode failureCode)
The failure code associated with the failure.
failureCode
- The failure code associated with the failure.LayerFailureCode
public LayerFailure withFailureCode(LayerFailureCode failureCode)
The failure code associated with the failure.
failureCode
- The failure code associated with the failure.LayerFailureCode
public void setFailureReason(java.lang.String failureReason)
The reason for the failure.
failureReason
- The reason for the failure.public java.lang.String getFailureReason()
The reason for the failure.
public LayerFailure withFailureReason(java.lang.String failureReason)
The reason for the failure.
failureReason
- The reason for the failure.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 LayerFailure clone()
clone
in class java.lang.Object