public StatusDetails withStatusCode(String statusCode) {
        setStatusCode(statusCode);
        return this;
    }
<p>
The status code that was returned. The status code is intended for programmatic error handling. Clean Rooms ML
will not change the status code for existing error conditions.
</p>

@param statusCode
       The status code that was returned. The status code is intended for programmatic error handling. Clean
       Rooms ML will not change the status code for existing error conditions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cleanroomsml/src/main/java/com/amazonaws/services/cleanroomsml/model/StatusDetails.java