@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageFailure extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents an Amazon ECR image failure.
Constructor and Description |
---|
ImageFailure() |
Modifier and Type | Method and Description |
---|---|
ImageFailure |
clone() |
boolean |
equals(Object obj) |
String |
getFailureCode()
The code that's associated with the failure.
|
String |
getFailureReason()
The reason for the failure.
|
ImageIdentifier |
getImageId()
The image ID that's associated with the failure.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureCode(String failureCode)
The code that's associated with the failure.
|
void |
setFailureReason(String failureReason)
The reason for the failure.
|
void |
setImageId(ImageIdentifier imageId)
The image ID that's associated with the failure.
|
String |
toString()
Returns a string representation of this object.
|
ImageFailure |
withFailureCode(ImageFailureCode failureCode)
The code that's associated with the failure.
|
ImageFailure |
withFailureCode(String failureCode)
The code that's associated with the failure.
|
ImageFailure |
withFailureReason(String failureReason)
The reason for the failure.
|
ImageFailure |
withImageId(ImageIdentifier imageId)
The image ID that's associated with the failure.
|
public void setImageId(ImageIdentifier imageId)
The image ID that's associated with the failure.
imageId
- The image ID that's associated with the failure.public ImageIdentifier getImageId()
The image ID that's associated with the failure.
public ImageFailure withImageId(ImageIdentifier imageId)
The image ID that's associated with the failure.
imageId
- The image ID that's associated with the failure.public void setFailureCode(String failureCode)
The code that's associated with the failure.
failureCode
- The code that's associated with the failure.ImageFailureCode
public String getFailureCode()
The code that's associated with the failure.
ImageFailureCode
public ImageFailure withFailureCode(String failureCode)
The code that's associated with the failure.
failureCode
- The code that's associated with the failure.ImageFailureCode
public ImageFailure withFailureCode(ImageFailureCode failureCode)
The code that's associated with the failure.
failureCode
- The code that's associated with the failure.ImageFailureCode
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 ImageFailure withFailureReason(String failureReason)
The reason for the failure.
failureReason
- The reason for the failure.public String toString()
toString
in class Object
Object.toString()
public ImageFailure clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.