* The delegations that are associated with the assessment. *
*/ private java.util.List
* A list of errors that the BatchCreateDelegationByAssessment
API returned.
*
* The delegations that are associated with the assessment. *
* * @return The delegations that are associated with the assessment. */ public java.util.List* The delegations that are associated with the assessment. *
* * @param delegations * The delegations that are associated with the assessment. */ public void setDelegations(java.util.Collection* The delegations that are associated with the assessment. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDelegations(java.util.Collection)} or {@link #withDelegations(java.util.Collection)} if you want to * override the existing values. *
* * @param delegations * The delegations that are associated with the assessment. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateDelegationByAssessmentResult withDelegations(Delegation... delegations) { if (this.delegations == null) { setDelegations(new java.util.ArrayList* The delegations that are associated with the assessment. *
* * @param delegations * The delegations that are associated with the assessment. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateDelegationByAssessmentResult withDelegations(java.util.Collection
* A list of errors that the BatchCreateDelegationByAssessment
API returned.
*
BatchCreateDelegationByAssessment
API returned.
*/
public java.util.List
* A list of errors that the BatchCreateDelegationByAssessment
API returned.
*
BatchCreateDelegationByAssessment
API returned.
*/
public void setErrors(java.util.Collection
* A list of errors that the BatchCreateDelegationByAssessment
API returned.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the * existing values. *
* * @param errors * A list of errors that theBatchCreateDelegationByAssessment
API returned.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchCreateDelegationByAssessmentResult withErrors(BatchCreateDelegationByAssessmentError... errors) {
if (this.errors == null) {
setErrors(new java.util.ArrayList
* A list of errors that the BatchCreateDelegationByAssessment
API returned.
*
BatchCreateDelegationByAssessment
API returned.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchCreateDelegationByAssessmentResult withErrors(java.util.Collection