Class ImageFailure
java.lang.Object
com.amazonaws.services.ecr.model.ImageFailure
- All Implemented Interfaces:
Serializable, Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe code associated with the failure.The reason for the failure.The image ID associated with the failure.inthashCode()voidsetFailureCode(ImageFailureCode failureCode) The code associated with the failure.voidsetFailureCode(String failureCode) The code associated with the failure.voidsetFailureReason(String failureReason) The reason for the failure.voidsetImageId(ImageIdentifier imageId) The image ID associated with the failure.toString()Returns a string representation of this object; useful for testing and debugging.withFailureCode(ImageFailureCode failureCode) The code associated with the failure.withFailureCode(String failureCode) The code associated with the failure.withFailureReason(String failureReason) The reason for the failure.withImageId(ImageIdentifier imageId) The image ID associated with the failure.
-
Constructor Details
-
ImageFailure
public ImageFailure()
-
-
Method Details
-
setImageId
The image ID associated with the failure.
- Parameters:
imageId- The image ID associated with the failure.
-
getImageId
The image ID associated with the failure.
- Returns:
- The image ID associated with the failure.
-
withImageId
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
The code associated with the failure.
- Parameters:
failureCode- The code associated with the failure.- See Also:
-
getFailureCode
The code associated with the failure.
- Returns:
- The code associated with the failure.
- See Also:
-
withFailureCode
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:
-
setFailureCode
The code associated with the failure.
- Parameters:
failureCode- The code associated with the failure.- See Also:
-
withFailureCode
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:
-
setFailureReason
The reason for the failure.
- Parameters:
failureReason- The reason for the failure.
-
getFailureReason
-
withFailureReason
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
-
equals
-
hashCode
-
clone
-