public CancelJobExecutionRequest withStatusDetails(java.util.Map<String, String> statusDetails) {
        setStatusDetails(statusDetails);
        return this;
    }
<p>
A collection of name/value pairs that describe the status of the job execution. If not specified, the
statusDetails are unchanged. You can specify at most 10 name/value pairs.
</p>

@param statusDetails
       A collection of name/value pairs that describe the status of the job execution. If not specified, the
       statusDetails are unchanged. You can specify at most 10 name/value pairs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CancelJobExecutionRequest.java