public class Failure extends Object implements Serializable, Cloneable
A failed resource.
| Constructor and Description |
|---|
Failure() |
| Modifier and Type | Method and Description |
|---|---|
Failure |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the failed resource.
|
String |
getReason()
The reason for the failure.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the failed resource.
|
void |
setReason(String reason)
The reason for the failure.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Failure |
withArn(String arn)
The Amazon Resource Name (ARN) of the failed resource.
|
Failure |
withReason(String reason)
The reason for the failure.
|
public String getArn()
public void setArn(String arn)
arn - The Amazon Resource Name (ARN) of the failed resource.public Failure withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN) of the failed resource.public String getReason()
public void setReason(String reason)
reason - The reason for the failure.public Failure withReason(String reason)
Returns a reference to this object so that method calls can be chained together.
reason - The reason for the failure.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.