@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Failure extends Object implements Serializable, Cloneable, StructuredPojo
A failed resource. For a list of common causes, see API failure reasons in the Amazon Elastic Container Service Developer Guide.
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 |
getDetail()
The details of the failure.
|
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 |
setDetail(String detail)
The details of the failure.
|
void |
setReason(String reason)
The reason for the failure.
|
String |
toString()
Returns a string representation of this object.
|
Failure |
withArn(String arn)
The Amazon Resource Name (ARN) of the failed resource.
|
Failure |
withDetail(String detail)
The details of the failure.
|
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 void setDetail(String detail)
The details of the failure.
detail
- The details of the failure.public String getDetail()
The details of the failure.
public Failure withDetail(String detail)
The details of the failure.
detail
- The details of the failure.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.