public ResourcesAffected withS3Bucket(S3Bucket s3Bucket) {
        setS3Bucket(s3Bucket);
        return this;
    }
<p>
The details of the S3 bucket that the finding applies to.
</p>

@param s3Bucket
       The details of the S3 bucket that the finding applies to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/ResourcesAffected.java