public S3Location withPrefix(String prefix) {
        setPrefix(prefix);
        return this;
    }
<p>
The prefix for the Amazon S3 bucket.
</p>

@param prefix
       The prefix for the Amazon S3 bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/S3Location.java