Package com.amazonaws.services.ecr.model
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()
boolean
The code associated with the failure.The reason for the failure.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.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
The reason for the failure.
- Returns:
- The reason for the failure.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-