Package com.amazonaws.services.ecr.model
Class LayerFailure
- java.lang.Object
-
- com.amazonaws.services.ecr.model.LayerFailure
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class LayerFailure extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LayerFailure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayerFailure
clone()
boolean
equals(Object obj)
String
getFailureCode()
The failure code associated with the failure.String
getFailureReason()
The reason for the failure.String
getLayerDigest()
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.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(String failureCode)
The failure code associated with the failure.LayerFailure
withFailureReason(String failureReason)
The reason for the failure.LayerFailure
withLayerDigest(String layerDigest)
The layer digest associated with the failure.
-
-
-
Method Detail
-
setLayerDigest
public void setLayerDigest(String layerDigest)
The layer digest associated with the failure.
- Parameters:
layerDigest
- The layer digest associated with the failure.
-
getLayerDigest
public String getLayerDigest()
The layer digest associated with the failure.
- Returns:
- The layer digest associated with the failure.
-
withLayerDigest
public LayerFailure withLayerDigest(String layerDigest)
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
public void setFailureCode(String failureCode)
The failure code associated with the failure.
- Parameters:
failureCode
- The failure code associated with the failure.- See Also:
LayerFailureCode
-
getFailureCode
public String getFailureCode()
The failure code associated with the failure.
- Returns:
- The failure code associated with the failure.
- See Also:
LayerFailureCode
-
withFailureCode
public LayerFailure withFailureCode(String failureCode)
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:
LayerFailureCode
-
setFailureCode
public void setFailureCode(LayerFailureCode failureCode)
The failure code associated with the failure.
- Parameters:
failureCode
- The failure code associated with the failure.- See Also:
LayerFailureCode
-
withFailureCode
public LayerFailure withFailureCode(LayerFailureCode failureCode)
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:
LayerFailureCode
-
setFailureReason
public void setFailureReason(String failureReason)
The reason for the failure.
- Parameters:
failureReason
- The reason for the failure.
-
getFailureReason
public String getFailureReason()
The reason for the failure.
- Returns:
- The reason for the failure.
-
withFailureReason
public LayerFailure withFailureReason(String failureReason)
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
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()
-
clone
public LayerFailure clone()
-
-