@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateDelegationByAssessmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
BatchCreateDelegationByAssessmentResult() |
| Modifier and Type | Method and Description |
|---|---|
BatchCreateDelegationByAssessmentResult |
clone() |
boolean |
equals(Object obj) |
List<Delegation> |
getDelegations()
The delegations that are associated with the assessment.
|
List<BatchCreateDelegationByAssessmentError> |
getErrors()
A list of errors that the
BatchCreateDelegationByAssessment API returned. |
int |
hashCode() |
void |
setDelegations(Collection<Delegation> delegations)
The delegations that are associated with the assessment.
|
void |
setErrors(Collection<BatchCreateDelegationByAssessmentError> errors)
A list of errors that the
BatchCreateDelegationByAssessment API returned. |
String |
toString()
Returns a string representation of this object.
|
BatchCreateDelegationByAssessmentResult |
withDelegations(Collection<Delegation> delegations)
The delegations that are associated with the assessment.
|
BatchCreateDelegationByAssessmentResult |
withDelegations(Delegation... delegations)
The delegations that are associated with the assessment.
|
BatchCreateDelegationByAssessmentResult |
withErrors(BatchCreateDelegationByAssessmentError... errors)
A list of errors that the
BatchCreateDelegationByAssessment API returned. |
BatchCreateDelegationByAssessmentResult |
withErrors(Collection<BatchCreateDelegationByAssessmentError> errors)
A list of errors that the
BatchCreateDelegationByAssessment API returned. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic BatchCreateDelegationByAssessmentResult()
public List<Delegation> getDelegations()
The delegations that are associated with the assessment.
public void setDelegations(Collection<Delegation> delegations)
The delegations that are associated with the assessment.
delegations - The delegations that are associated with the assessment.public BatchCreateDelegationByAssessmentResult withDelegations(Delegation... delegations)
The delegations that are associated with the assessment.
NOTE: This method appends the values to the existing list (if any). Use
setDelegations(java.util.Collection) or withDelegations(java.util.Collection) if you want to
override the existing values.
delegations - The delegations that are associated with the assessment.public BatchCreateDelegationByAssessmentResult withDelegations(Collection<Delegation> delegations)
The delegations that are associated with the assessment.
delegations - The delegations that are associated with the assessment.public List<BatchCreateDelegationByAssessmentError> getErrors()
A list of errors that the BatchCreateDelegationByAssessment API returned.
BatchCreateDelegationByAssessment API returned.public void setErrors(Collection<BatchCreateDelegationByAssessmentError> errors)
A list of errors that the BatchCreateDelegationByAssessment API returned.
errors - A list of errors that the BatchCreateDelegationByAssessment API returned.public BatchCreateDelegationByAssessmentResult withErrors(BatchCreateDelegationByAssessmentError... errors)
A list of errors that the BatchCreateDelegationByAssessment API returned.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection) or withErrors(java.util.Collection) if you want to override the
existing values.
errors - A list of errors that the BatchCreateDelegationByAssessment API returned.public BatchCreateDelegationByAssessmentResult withErrors(Collection<BatchCreateDelegationByAssessmentError> errors)
A list of errors that the BatchCreateDelegationByAssessment API returned.
errors - A list of errors that the BatchCreateDelegationByAssessment API returned.public String toString()
toString in class ObjectObject.toString()public BatchCreateDelegationByAssessmentResult clone()