public class CreateAssociationBatchResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
CreateAssociationBatchResult() |
Modifier and Type | Method and Description |
---|---|
CreateAssociationBatchResult |
clone() |
boolean |
equals(Object obj) |
List<FailedCreateAssociation> |
getFailed()
Information about the associations that failed.
|
List<AssociationDescription> |
getSuccessful()
Information about the associations that succeeded.
|
int |
hashCode() |
void |
setFailed(Collection<FailedCreateAssociation> failed)
Information about the associations that failed.
|
void |
setSuccessful(Collection<AssociationDescription> successful)
Information about the associations that succeeded.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAssociationBatchResult |
withFailed(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(Collection<AssociationDescription> successful)
Information about the associations that succeeded.
|
public List<AssociationDescription> getSuccessful()
public void setSuccessful(Collection<AssociationDescription> successful)
successful
- Information about the associations that succeeded.public CreateAssociationBatchResult withSuccessful(AssociationDescription... successful)
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.
Returns a reference to this object so that method calls can be chained together.
successful
- Information about the associations that succeeded.public CreateAssociationBatchResult withSuccessful(Collection<AssociationDescription> successful)
Returns a reference to this object so that method calls can be chained together.
successful
- Information about the associations that succeeded.public List<FailedCreateAssociation> getFailed()
public void setFailed(Collection<FailedCreateAssociation> failed)
failed
- Information about the associations that failed.public CreateAssociationBatchResult withFailed(FailedCreateAssociation... 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.
Returns a reference to this object so that method calls can be chained together.
failed
- Information about the associations that failed.public CreateAssociationBatchResult withFailed(Collection<FailedCreateAssociation> failed)
Returns a reference to this object so that method calls can be chained together.
failed
- Information about the associations that failed.public String toString()
toString
in class Object
Object.toString()
public CreateAssociationBatchResult clone()
Copyright © 2015. All rights reserved.