@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateDelegationByAssessmentError extends Object implements Serializable, Cloneable, StructuredPojo
An error entity for the BatchCreateDelegationByAssessment API. This is used to provide more meaningful
errors than a simple string message.
| Constructor and Description |
|---|
BatchCreateDelegationByAssessmentError() |
| Modifier and Type | Method and Description |
|---|---|
BatchCreateDelegationByAssessmentError |
clone() |
boolean |
equals(Object obj) |
CreateDelegationRequest |
getCreateDelegationRequest()
The API request to batch create delegations in AWS Audit Manager.
|
String |
getErrorCode()
The error code returned by the
BatchCreateDelegationByAssessment API. |
String |
getErrorMessage()
The error message returned by the
BatchCreateDelegationByAssessment API. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCreateDelegationRequest(CreateDelegationRequest createDelegationRequest)
The API request to batch create delegations in AWS Audit Manager.
|
void |
setErrorCode(String errorCode)
The error code returned by the
BatchCreateDelegationByAssessment API. |
void |
setErrorMessage(String errorMessage)
The error message returned by the
BatchCreateDelegationByAssessment API. |
String |
toString()
Returns a string representation of this object.
|
BatchCreateDelegationByAssessmentError |
withCreateDelegationRequest(CreateDelegationRequest createDelegationRequest)
The API request to batch create delegations in AWS Audit Manager.
|
BatchCreateDelegationByAssessmentError |
withErrorCode(String errorCode)
The error code returned by the
BatchCreateDelegationByAssessment API. |
BatchCreateDelegationByAssessmentError |
withErrorMessage(String errorMessage)
The error message returned by the
BatchCreateDelegationByAssessment API. |
public BatchCreateDelegationByAssessmentError()
public void setCreateDelegationRequest(CreateDelegationRequest createDelegationRequest)
The API request to batch create delegations in AWS Audit Manager.
createDelegationRequest - The API request to batch create delegations in AWS Audit Manager.public CreateDelegationRequest getCreateDelegationRequest()
The API request to batch create delegations in AWS Audit Manager.
public BatchCreateDelegationByAssessmentError withCreateDelegationRequest(CreateDelegationRequest createDelegationRequest)
The API request to batch create delegations in AWS Audit Manager.
createDelegationRequest - The API request to batch create delegations in AWS Audit Manager.public void setErrorCode(String errorCode)
The error code returned by the BatchCreateDelegationByAssessment API.
errorCode - The error code returned by the BatchCreateDelegationByAssessment API.public String getErrorCode()
The error code returned by the BatchCreateDelegationByAssessment API.
BatchCreateDelegationByAssessment API.public BatchCreateDelegationByAssessmentError withErrorCode(String errorCode)
The error code returned by the BatchCreateDelegationByAssessment API.
errorCode - The error code returned by the BatchCreateDelegationByAssessment API.public void setErrorMessage(String errorMessage)
The error message returned by the BatchCreateDelegationByAssessment API.
errorMessage - The error message returned by the BatchCreateDelegationByAssessment API.public String getErrorMessage()
The error message returned by the BatchCreateDelegationByAssessment API.
BatchCreateDelegationByAssessment API.public BatchCreateDelegationByAssessmentError withErrorMessage(String errorMessage)
The error message returned by the BatchCreateDelegationByAssessment API.
errorMessage - The error message returned by the BatchCreateDelegationByAssessment API.public String toString()
toString in class ObjectObject.toString()public BatchCreateDelegationByAssessmentError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.