@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 Audit Manager.
|
String |
getErrorCode()
The error code that the
BatchCreateDelegationByAssessment API returned. |
String |
getErrorMessage()
The error message that the
BatchCreateDelegationByAssessment API returned. |
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 Audit Manager.
|
void |
setErrorCode(String errorCode)
The error code that the
BatchCreateDelegationByAssessment API returned. |
void |
setErrorMessage(String errorMessage)
The error message that the
BatchCreateDelegationByAssessment API returned. |
String |
toString()
Returns a string representation of this object.
|
BatchCreateDelegationByAssessmentError |
withCreateDelegationRequest(CreateDelegationRequest createDelegationRequest)
The API request to batch create delegations in Audit Manager.
|
BatchCreateDelegationByAssessmentError |
withErrorCode(String errorCode)
The error code that the
BatchCreateDelegationByAssessment API returned. |
BatchCreateDelegationByAssessmentError |
withErrorMessage(String errorMessage)
The error message that the
BatchCreateDelegationByAssessment API returned. |
public BatchCreateDelegationByAssessmentError()
public void setCreateDelegationRequest(CreateDelegationRequest createDelegationRequest)
The API request to batch create delegations in Audit Manager.
createDelegationRequest
- The API request to batch create delegations in Audit Manager.public CreateDelegationRequest getCreateDelegationRequest()
The API request to batch create delegations in Audit Manager.
public BatchCreateDelegationByAssessmentError withCreateDelegationRequest(CreateDelegationRequest createDelegationRequest)
The API request to batch create delegations in Audit Manager.
createDelegationRequest
- The API request to batch create delegations in Audit Manager.public void setErrorCode(String errorCode)
The error code that the BatchCreateDelegationByAssessment
API returned.
errorCode
- The error code that the BatchCreateDelegationByAssessment
API returned.public String getErrorCode()
The error code that the BatchCreateDelegationByAssessment
API returned.
BatchCreateDelegationByAssessment
API returned.public BatchCreateDelegationByAssessmentError withErrorCode(String errorCode)
The error code that the BatchCreateDelegationByAssessment
API returned.
errorCode
- The error code that the BatchCreateDelegationByAssessment
API returned.public void setErrorMessage(String errorMessage)
The error message that the BatchCreateDelegationByAssessment
API returned.
errorMessage
- The error message that the BatchCreateDelegationByAssessment
API returned.public String getErrorMessage()
The error message that the BatchCreateDelegationByAssessment
API returned.
BatchCreateDelegationByAssessment
API returned.public BatchCreateDelegationByAssessmentError withErrorMessage(String errorMessage)
The error message that the BatchCreateDelegationByAssessment
API returned.
errorMessage
- The error message that the BatchCreateDelegationByAssessment
API returned.public String toString()
toString
in class Object
Object.toString()
public BatchCreateDelegationByAssessmentError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.