@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailedItem extends Object implements Serializable, Cloneable, StructuredPojo
Details of a resource that failed when trying to update it's association to a resource set.
Constructor and Description |
---|
FailedItem() |
Modifier and Type | Method and Description |
---|---|
FailedItem |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
The reason the resource's association could not be updated.
|
String |
getURI()
The univeral resource indicator (URI) of the resource that failed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReason(String reason)
The reason the resource's association could not be updated.
|
void |
setURI(String uRI)
The univeral resource indicator (URI) of the resource that failed.
|
String |
toString()
Returns a string representation of this object.
|
FailedItem |
withReason(FailedItemReason reason)
The reason the resource's association could not be updated.
|
FailedItem |
withReason(String reason)
The reason the resource's association could not be updated.
|
FailedItem |
withURI(String uRI)
The univeral resource indicator (URI) of the resource that failed.
|
public void setURI(String uRI)
The univeral resource indicator (URI) of the resource that failed.
uRI
- The univeral resource indicator (URI) of the resource that failed.public String getURI()
The univeral resource indicator (URI) of the resource that failed.
public FailedItem withURI(String uRI)
The univeral resource indicator (URI) of the resource that failed.
uRI
- The univeral resource indicator (URI) of the resource that failed.public void setReason(String reason)
The reason the resource's association could not be updated.
reason
- The reason the resource's association could not be updated.FailedItemReason
public String getReason()
The reason the resource's association could not be updated.
FailedItemReason
public FailedItem withReason(String reason)
The reason the resource's association could not be updated.
reason
- The reason the resource's association could not be updated.FailedItemReason
public FailedItem withReason(FailedItemReason reason)
The reason the resource's association could not be updated.
reason
- The reason the resource's association could not be updated.FailedItemReason
public String toString()
toString
in class Object
Object.toString()
public FailedItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.