public InferenceS3InputConfiguration withBucket(String bucket) {
        setBucket(bucket);
        return this;
    }
<p>
The bucket containing the input dataset for the inference.
</p>

@param bucket
       The bucket containing the input dataset for the inference.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/InferenceS3InputConfiguration.java