Package com.amazonaws.services.ecr.model
Class ImageFailure
- java.lang.Object
-
- com.amazonaws.services.ecr.model.ImageFailure
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ImageFailure extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageFailure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageFailure
clone()
boolean
equals(Object obj)
String
getFailureCode()
The code associated with the failure.String
getFailureReason()
The reason for the failure.ImageIdentifier
getImageId()
The image ID associated with the failure.int
hashCode()
void
setFailureCode(ImageFailureCode failureCode)
The code associated with the failure.void
setFailureCode(String failureCode)
The code associated with the failure.void
setFailureReason(String failureReason)
The reason for the failure.void
setImageId(ImageIdentifier imageId)
The image ID associated with the failure.String
toString()
Returns a string representation of this object; useful for testing and debugging.ImageFailure
withFailureCode(ImageFailureCode failureCode)
The code associated with the failure.ImageFailure
withFailureCode(String failureCode)
The code associated with the failure.ImageFailure
withFailureReason(String failureReason)
The reason for the failure.ImageFailure
withImageId(ImageIdentifier imageId)
The image ID associated with the failure.
-
-
-
Method Detail
-
setImageId
public void setImageId(ImageIdentifier imageId)
The image ID associated with the failure.
- Parameters:
imageId
- The image ID associated with the failure.
-
getImageId
public ImageIdentifier getImageId()
The image ID associated with the failure.
- Returns:
- The image ID associated with the failure.
-
withImageId
public ImageFailure withImageId(ImageIdentifier imageId)
The image ID associated with the failure.
- Parameters:
imageId
- The image ID 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 code associated with the failure.
- Parameters:
failureCode
- The code associated with the failure.- See Also:
ImageFailureCode
-
getFailureCode
public String getFailureCode()
The code associated with the failure.
- Returns:
- The code associated with the failure.
- See Also:
ImageFailureCode
-
withFailureCode
public ImageFailure withFailureCode(String failureCode)
The code associated with the failure.
- Parameters:
failureCode
- The code associated with the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImageFailureCode
-
setFailureCode
public void setFailureCode(ImageFailureCode failureCode)
The code associated with the failure.
- Parameters:
failureCode
- The code associated with the failure.- See Also:
ImageFailureCode
-
withFailureCode
public ImageFailure withFailureCode(ImageFailureCode failureCode)
The code associated with the failure.
- Parameters:
failureCode
- The code associated with the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImageFailureCode
-
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 ImageFailure 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 ImageFailure clone()
-
-