public MessageResult withStatusCode(Integer statusCode) {
        setStatusCode(statusCode);
        return this;
    }
<p>
The downstream service status code for delivering the message.
</p>

@param statusCode
       The downstream service status code for delivering the message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/MessageResult.java