Class Failure
java.lang.Object
com.amazonaws.services.ecs.model.Failure
- All Implemented Interfaces:
Serializable, Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetArn()The Amazon Resource Name (ARN) of the failed resource.The reason for the failure.inthashCode()voidThe Amazon Resource Name (ARN) of the failed resource.voidThe reason for the failure.toString()Returns a string representation of this object; useful for testing and debugging.The Amazon Resource Name (ARN) of the failed resource.withReason(String reason) The reason for the failure.
-
Constructor Details
-
Failure
public Failure()
-
-
Method Details
-
setArn
The Amazon Resource Name (ARN) of the failed resource.
- Parameters:
arn- The Amazon Resource Name (ARN) of the failed resource.
-
getArn
The Amazon Resource Name (ARN) of the failed resource.
- Returns:
- The Amazon Resource Name (ARN) of the failed resource.
-
withArn
-
setReason
The reason for the failure.
- Parameters:
reason- The reason for the failure.
-
getReason
-
withReason
-
toString
-
equals
-
hashCode
-
clone
-