Class FailedCreateAssociation
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.FailedCreateAssociation
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class FailedCreateAssociation extends Object implements Serializable, Cloneable
Describes a failed association.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FailedCreateAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailedCreateAssociation
clone()
boolean
equals(Object obj)
CreateAssociationBatchRequestEntry
getEntry()
The association.String
getFault()
The source of the failure.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(String fault)
The source of the failure.void
setMessage(String message)
A description of the failure.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(String fault)
The source of the failure.FailedCreateAssociation
withMessage(String message)
A description of the failure.
-
-
-
Method Detail
-
setEntry
public void setEntry(CreateAssociationBatchRequestEntry entry)
The association.
- Parameters:
entry
- The association.
-
getEntry
public CreateAssociationBatchRequestEntry getEntry()
The association.
- Returns:
- The association.
-
withEntry
public FailedCreateAssociation withEntry(CreateAssociationBatchRequestEntry entry)
The association.
- Parameters:
entry
- The association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
public void setMessage(String message)
A description of the failure.
- Parameters:
message
- A description of the failure.
-
getMessage
public String getMessage()
A description of the failure.
- Returns:
- A description of the failure.
-
withMessage
public FailedCreateAssociation withMessage(String message)
A description of the failure.
- Parameters:
message
- A description of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFault
public void setFault(String fault)
The source of the failure.
- Parameters:
fault
- The source of the failure.- See Also:
Fault
-
getFault
public String getFault()
The source of the failure.
- Returns:
- The source of the failure.
- See Also:
Fault
-
withFault
public FailedCreateAssociation withFault(String fault)
The source of the failure.
- Parameters:
fault
- The source of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Fault
-
setFault
public void setFault(Fault fault)
The source of the failure.
- Parameters:
fault
- The source of the failure.- See Also:
Fault
-
withFault
public FailedCreateAssociation withFault(Fault fault)
The source of the failure.
- Parameters:
fault
- The source of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Fault
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FailedCreateAssociation clone()
-
-