@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailedRequest extends Object implements Serializable, Cloneable, StructuredPojo
Request for which contact failed to be generated.
Constructor and Description |
---|
FailedRequest() |
Modifier and Type | Method and Description |
---|---|
FailedRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFailureReasonCode()
Reason code for the failure.
|
String |
getFailureReasonMessage()
Why the request to create a contact failed.
|
String |
getRequestIdentifier()
Request identifier provided in the API call in the ContactDataRequest to create a contact.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureReasonCode(String failureReasonCode)
Reason code for the failure.
|
void |
setFailureReasonMessage(String failureReasonMessage)
Why the request to create a contact failed.
|
void |
setRequestIdentifier(String requestIdentifier)
Request identifier provided in the API call in the ContactDataRequest to create a contact.
|
String |
toString()
Returns a string representation of this object.
|
FailedRequest |
withFailureReasonCode(FailureReasonCode failureReasonCode)
Reason code for the failure.
|
FailedRequest |
withFailureReasonCode(String failureReasonCode)
Reason code for the failure.
|
FailedRequest |
withFailureReasonMessage(String failureReasonMessage)
Why the request to create a contact failed.
|
FailedRequest |
withRequestIdentifier(String requestIdentifier)
Request identifier provided in the API call in the ContactDataRequest to create a contact.
|
public void setRequestIdentifier(String requestIdentifier)
Request identifier provided in the API call in the ContactDataRequest to create a contact.
requestIdentifier
- Request identifier provided in the API call in the ContactDataRequest to create a contact.public String getRequestIdentifier()
Request identifier provided in the API call in the ContactDataRequest to create a contact.
public FailedRequest withRequestIdentifier(String requestIdentifier)
Request identifier provided in the API call in the ContactDataRequest to create a contact.
requestIdentifier
- Request identifier provided in the API call in the ContactDataRequest to create a contact.public void setFailureReasonCode(String failureReasonCode)
Reason code for the failure.
failureReasonCode
- Reason code for the failure.FailureReasonCode
public String getFailureReasonCode()
Reason code for the failure.
FailureReasonCode
public FailedRequest withFailureReasonCode(String failureReasonCode)
Reason code for the failure.
failureReasonCode
- Reason code for the failure.FailureReasonCode
public FailedRequest withFailureReasonCode(FailureReasonCode failureReasonCode)
Reason code for the failure.
failureReasonCode
- Reason code for the failure.FailureReasonCode
public void setFailureReasonMessage(String failureReasonMessage)
Why the request to create a contact failed.
failureReasonMessage
- Why the request to create a contact failed.public String getFailureReasonMessage()
Why the request to create a contact failed.
public FailedRequest withFailureReasonMessage(String failureReasonMessage)
Why the request to create a contact failed.
failureReasonMessage
- Why the request to create a contact failed.public String toString()
toString
in class Object
Object.toString()
public FailedRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.