@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 associated with the assessment.
|
List<BatchCreateDelegationByAssessmentError> |
getErrors()
A list of errors returned by the
BatchCreateDelegationByAssessment API. |
int |
hashCode() |
void |
setDelegations(Collection<Delegation> delegations)
The delegations associated with the assessment.
|
void |
setErrors(Collection<BatchCreateDelegationByAssessmentError> errors)
A list of errors returned by the
BatchCreateDelegationByAssessment API. |
String |
toString()
Returns a string representation of this object.
|
BatchCreateDelegationByAssessmentResult |
withDelegations(Collection<Delegation> delegations)
The delegations associated with the assessment.
|
BatchCreateDelegationByAssessmentResult |
withDelegations(Delegation... delegations)
The delegations associated with the assessment.
|
BatchCreateDelegationByAssessmentResult |
withErrors(BatchCreateDelegationByAssessmentError... errors)
A list of errors returned by the
BatchCreateDelegationByAssessment API. |
BatchCreateDelegationByAssessmentResult |
withErrors(Collection<BatchCreateDelegationByAssessmentError> errors)
A list of errors returned by the
BatchCreateDelegationByAssessment API. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public BatchCreateDelegationByAssessmentResult()
public List<Delegation> getDelegations()
The delegations associated with the assessment.
public void setDelegations(Collection<Delegation> delegations)
The delegations associated with the assessment.
delegations
- The delegations associated with the assessment.public BatchCreateDelegationByAssessmentResult withDelegations(Delegation... delegations)
The delegations 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 associated with the assessment.public BatchCreateDelegationByAssessmentResult withDelegations(Collection<Delegation> delegations)
The delegations associated with the assessment.
delegations
- The delegations associated with the assessment.public List<BatchCreateDelegationByAssessmentError> getErrors()
A list of errors returned by the BatchCreateDelegationByAssessment
API.
BatchCreateDelegationByAssessment
API.public void setErrors(Collection<BatchCreateDelegationByAssessmentError> errors)
A list of errors returned by the BatchCreateDelegationByAssessment
API.
errors
- A list of errors returned by the BatchCreateDelegationByAssessment
API.public BatchCreateDelegationByAssessmentResult withErrors(BatchCreateDelegationByAssessmentError... errors)
A list of errors returned by the BatchCreateDelegationByAssessment
API.
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 returned by the BatchCreateDelegationByAssessment
API.public BatchCreateDelegationByAssessmentResult withErrors(Collection<BatchCreateDelegationByAssessmentError> errors)
A list of errors returned by the BatchCreateDelegationByAssessment
API.
errors
- A list of errors returned by the BatchCreateDelegationByAssessment
API.public String toString()
toString
in class Object
Object.toString()
public BatchCreateDelegationByAssessmentResult clone()