public class CreateAssociationBatchResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<FailedCreateAssociation> |
failed
Information about the associations that failed.
|
private SdkInternalList<AssociationDescription> |
successful
Information about the associations that succeeded.
|
Constructor and Description |
---|
CreateAssociationBatchResult() |
Modifier and Type | Method and Description |
---|---|
CreateAssociationBatchResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<FailedCreateAssociation> |
getFailed()
Information about the associations that failed.
|
java.util.List<AssociationDescription> |
getSuccessful()
Information about the associations that succeeded.
|
int |
hashCode() |
void |
setFailed(java.util.Collection<FailedCreateAssociation> failed)
Information about the associations that failed.
|
void |
setSuccessful(java.util.Collection<AssociationDescription> successful)
Information about the associations that succeeded.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAssociationBatchResult |
withFailed(java.util.Collection<FailedCreateAssociation> failed)
Information about the associations that failed.
|
CreateAssociationBatchResult |
withFailed(FailedCreateAssociation... failed)
Information about the associations that failed.
|
CreateAssociationBatchResult |
withSuccessful(AssociationDescription... successful)
Information about the associations that succeeded.
|
CreateAssociationBatchResult |
withSuccessful(java.util.Collection<AssociationDescription> successful)
Information about the associations that succeeded.
|
private SdkInternalList<AssociationDescription> successful
Information about the associations that succeeded.
private SdkInternalList<FailedCreateAssociation> failed
Information about the associations that failed.
public java.util.List<AssociationDescription> getSuccessful()
Information about the associations that succeeded.
public void setSuccessful(java.util.Collection<AssociationDescription> successful)
Information about the associations that succeeded.
successful
- Information about the associations that succeeded.public CreateAssociationBatchResult withSuccessful(AssociationDescription... successful)
Information about the associations that succeeded.
NOTE: This method appends the values to the existing list (if
any). Use setSuccessful(java.util.Collection)
or
withSuccessful(java.util.Collection)
if you want to override the
existing values.
successful
- Information about the associations that succeeded.public CreateAssociationBatchResult withSuccessful(java.util.Collection<AssociationDescription> successful)
Information about the associations that succeeded.
successful
- Information about the associations that succeeded.public java.util.List<FailedCreateAssociation> getFailed()
Information about the associations that failed.
public void setFailed(java.util.Collection<FailedCreateAssociation> failed)
Information about the associations that failed.
failed
- Information about the associations that failed.public CreateAssociationBatchResult withFailed(FailedCreateAssociation... failed)
Information about the associations that failed.
NOTE: This method appends the values to the existing list (if
any). Use setFailed(java.util.Collection)
or
withFailed(java.util.Collection)
if you want to override the
existing values.
failed
- Information about the associations that failed.public CreateAssociationBatchResult withFailed(java.util.Collection<FailedCreateAssociation> failed)
Information about the associations that failed.
failed
- Information about the associations that failed.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 CreateAssociationBatchResult clone()
clone
in class java.lang.Object