public void setBucket(String bucket) {
        this.bucket = bucket;
    }
<p>
The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket
must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same
AWS Region and AWS account in which you use AWS IoT Greengrass.
</p>

@param bucket
       The S3 bucket that contains the training or model packaging job output. If you are training a model, the
       bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be
       in the same AWS Region and AWS account in which you use AWS IoT Greengrass.
aws-java-sdk-lookoutforvision/src/main/java/com/amazonaws/services/lookoutforvision/model/S3Location.java