@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Failure extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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 void setArn(String arn)
The Amazon Resource Name (ARN) of the failed resource.
arn
- The Amazon Resource Name (ARN) of the failed resource.public String getArn()
The Amazon Resource Name (ARN) of the failed resource.
public Failure withArn(String arn)
The Amazon Resource Name (ARN) of the failed resource.
arn
- The Amazon Resource Name (ARN) of the failed resource.public void setReason(String reason)
The reason for the failure.
reason
- The reason for the failure.public String getReason()
The reason for the failure.
public Failure withReason(String reason)
The reason for the failure.
reason
- The reason for the failure.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.