Package com.amazonaws.services.ecs.model
Class Failure
java.lang.Object
com.amazonaws.services.ecs.model.Failure
- All Implemented Interfaces:
Serializable,Cloneable
A failed resource.
- See Also:
-
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
The Amazon Resource Name (ARN) of the failed resource.
- Parameters:
arn- The Amazon Resource Name (ARN) of the failed resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReason
The reason for the failure.
- Parameters:
reason- The reason for the failure.
-
getReason
The reason for the failure.
- Returns:
- The reason for the failure.
-
withReason
The reason for the failure.
- Parameters:
reason- 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
-