public class FailedCreateAssociation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a failed association.
Modifier and Type | Field and Description |
---|---|
private CreateAssociationBatchRequestEntry |
entry
The association.
|
private java.lang.String |
fault
The source of the failure.
|
private java.lang.String |
message
A description of the failure.
|
Constructor and Description |
---|
FailedCreateAssociation() |
Modifier and Type | Method and Description |
---|---|
FailedCreateAssociation |
clone() |
boolean |
equals(java.lang.Object obj) |
CreateAssociationBatchRequestEntry |
getEntry()
The association.
|
java.lang.String |
getFault()
The source of the failure.
|
java.lang.String |
getMessage()
A description of the failure.
|
int |
hashCode() |
void |
setEntry(CreateAssociationBatchRequestEntry entry)
The association.
|
void |
setFault(Fault fault)
The source of the failure.
|
void |
setFault(java.lang.String fault)
The source of the failure.
|
void |
setMessage(java.lang.String message)
A description of the failure.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FailedCreateAssociation |
withEntry(CreateAssociationBatchRequestEntry entry)
The association.
|
FailedCreateAssociation |
withFault(Fault fault)
The source of the failure.
|
FailedCreateAssociation |
withFault(java.lang.String fault)
The source of the failure.
|
FailedCreateAssociation |
withMessage(java.lang.String message)
A description of the failure.
|
private CreateAssociationBatchRequestEntry entry
The association.
private java.lang.String message
A description of the failure.
private java.lang.String fault
The source of the failure.
public void setEntry(CreateAssociationBatchRequestEntry entry)
The association.
entry
- The association.public CreateAssociationBatchRequestEntry getEntry()
The association.
public FailedCreateAssociation withEntry(CreateAssociationBatchRequestEntry entry)
The association.
entry
- The association.public void setMessage(java.lang.String message)
A description of the failure.
message
- A description of the failure.public java.lang.String getMessage()
A description of the failure.
public FailedCreateAssociation withMessage(java.lang.String message)
A description of the failure.
message
- A description of the failure.public void setFault(java.lang.String fault)
The source of the failure.
fault
- The source of the failure.Fault
public java.lang.String getFault()
The source of the failure.
Fault
public FailedCreateAssociation withFault(java.lang.String fault)
The source of the failure.
fault
- The source of the failure.Fault
public void setFault(Fault fault)
The source of the failure.
fault
- The source of the failure.Fault
public FailedCreateAssociation withFault(Fault fault)
The source of the failure.
fault
- The source of the failure.Fault
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FailedCreateAssociation clone()
clone
in class java.lang.Object