@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteDelegationByAssessmentError extends Object implements Serializable, Cloneable, StructuredPojo
An error entity for the BatchDeleteDelegationByAssessment API. This is used to provide more meaningful
errors than a simple string message.
| Constructor and Description |
|---|
BatchDeleteDelegationByAssessmentError() |
| Modifier and Type | Method and Description |
|---|---|
BatchDeleteDelegationByAssessmentError |
clone() |
boolean |
equals(Object obj) |
String |
getDelegationId()
The identifier for the specified delegation.
|
String |
getErrorCode()
The error code returned by the
BatchDeleteDelegationByAssessment API. |
String |
getErrorMessage()
The error message returned by the
BatchDeleteDelegationByAssessment API. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDelegationId(String delegationId)
The identifier for the specified delegation.
|
void |
setErrorCode(String errorCode)
The error code returned by the
BatchDeleteDelegationByAssessment API. |
void |
setErrorMessage(String errorMessage)
The error message returned by the
BatchDeleteDelegationByAssessment API. |
String |
toString()
Returns a string representation of this object.
|
BatchDeleteDelegationByAssessmentError |
withDelegationId(String delegationId)
The identifier for the specified delegation.
|
BatchDeleteDelegationByAssessmentError |
withErrorCode(String errorCode)
The error code returned by the
BatchDeleteDelegationByAssessment API. |
BatchDeleteDelegationByAssessmentError |
withErrorMessage(String errorMessage)
The error message returned by the
BatchDeleteDelegationByAssessment API. |
public BatchDeleteDelegationByAssessmentError()
public void setDelegationId(String delegationId)
The identifier for the specified delegation.
delegationId - The identifier for the specified delegation.public String getDelegationId()
The identifier for the specified delegation.
public BatchDeleteDelegationByAssessmentError withDelegationId(String delegationId)
The identifier for the specified delegation.
delegationId - The identifier for the specified delegation.public void setErrorCode(String errorCode)
The error code returned by the BatchDeleteDelegationByAssessment API.
errorCode - The error code returned by the BatchDeleteDelegationByAssessment API.public String getErrorCode()
The error code returned by the BatchDeleteDelegationByAssessment API.
BatchDeleteDelegationByAssessment API.public BatchDeleteDelegationByAssessmentError withErrorCode(String errorCode)
The error code returned by the BatchDeleteDelegationByAssessment API.
errorCode - The error code returned by the BatchDeleteDelegationByAssessment API.public void setErrorMessage(String errorMessage)
The error message returned by the BatchDeleteDelegationByAssessment API.
errorMessage - The error message returned by the BatchDeleteDelegationByAssessment API.public String getErrorMessage()
The error message returned by the BatchDeleteDelegationByAssessment API.
BatchDeleteDelegationByAssessment API.public BatchDeleteDelegationByAssessmentError withErrorMessage(String errorMessage)
The error message returned by the BatchDeleteDelegationByAssessment API.
errorMessage - The error message returned by the BatchDeleteDelegationByAssessment API.public String toString()
toString in class ObjectObject.toString()public BatchDeleteDelegationByAssessmentError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.