@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LayerFailure extends Object implements Serializable, Cloneable, StructuredPojo
An object representing an Amazon ECR image layer failure.
Constructor and Description |
---|
LayerFailure() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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.
|
public void setLayerDigest(String layerDigest)
The layer digest associated with the failure.
layerDigest
- The layer digest associated with the failure.public String getLayerDigest()
The layer digest associated with the failure.
public LayerFailure withLayerDigest(String layerDigest)
The layer digest associated with the failure.
layerDigest
- The layer digest associated with the failure.public void setFailureCode(String failureCode)
The failure code associated with the failure.
failureCode
- The failure code associated with the failure.LayerFailureCode
public String getFailureCode()
The failure code associated with the failure.
LayerFailureCode
public LayerFailure withFailureCode(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(String failureReason)
The reason for the failure.
failureReason
- The reason for the failure.public String getFailureReason()
The reason for the failure.
public LayerFailure withFailureReason(String failureReason)
The reason for the failure.
failureReason
- The reason for the failure.public String toString()
toString
in class Object
Object.toString()
public LayerFailure clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.