@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 delegation.
|
String |
getErrorCode()
The error code that the
BatchDeleteDelegationByAssessment API returned. |
String |
getErrorMessage()
The error message that the
BatchDeleteDelegationByAssessment API returned. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDelegationId(String delegationId)
The identifier for the delegation.
|
void |
setErrorCode(String errorCode)
The error code that the
BatchDeleteDelegationByAssessment API returned. |
void |
setErrorMessage(String errorMessage)
The error message that the
BatchDeleteDelegationByAssessment API returned. |
String |
toString()
Returns a string representation of this object.
|
BatchDeleteDelegationByAssessmentError |
withDelegationId(String delegationId)
The identifier for the delegation.
|
BatchDeleteDelegationByAssessmentError |
withErrorCode(String errorCode)
The error code that the
BatchDeleteDelegationByAssessment API returned. |
BatchDeleteDelegationByAssessmentError |
withErrorMessage(String errorMessage)
The error message that the
BatchDeleteDelegationByAssessment API returned. |
public BatchDeleteDelegationByAssessmentError()
public void setDelegationId(String delegationId)
The identifier for the delegation.
delegationId
- The identifier for the delegation.public String getDelegationId()
The identifier for the delegation.
public BatchDeleteDelegationByAssessmentError withDelegationId(String delegationId)
The identifier for the delegation.
delegationId
- The identifier for the delegation.public void setErrorCode(String errorCode)
The error code that the BatchDeleteDelegationByAssessment
API returned.
errorCode
- The error code that the BatchDeleteDelegationByAssessment
API returned.public String getErrorCode()
The error code that the BatchDeleteDelegationByAssessment
API returned.
BatchDeleteDelegationByAssessment
API returned.public BatchDeleteDelegationByAssessmentError withErrorCode(String errorCode)
The error code that the BatchDeleteDelegationByAssessment
API returned.
errorCode
- The error code that the BatchDeleteDelegationByAssessment
API returned.public void setErrorMessage(String errorMessage)
The error message that the BatchDeleteDelegationByAssessment
API returned.
errorMessage
- The error message that the BatchDeleteDelegationByAssessment
API returned.public String getErrorMessage()
The error message that the BatchDeleteDelegationByAssessment
API returned.
BatchDeleteDelegationByAssessment
API returned.public BatchDeleteDelegationByAssessmentError withErrorMessage(String errorMessage)
The error message that the BatchDeleteDelegationByAssessment
API returned.
errorMessage
- The error message that the BatchDeleteDelegationByAssessment
API returned.public String toString()
toString
in class Object
Object.toString()
public BatchDeleteDelegationByAssessmentError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.