public ExtendedS3DestinationUpdate withPrefix(String prefix) {
        setPrefix(prefix);
        return this;
    }
<p>
The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files. You can also specify
a custom prefix, as described in <a
href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
Objects</a>.
</p>

@param prefix
       The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files. You can also
       specify a custom prefix, as described in <a
       href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
       Objects</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/ExtendedS3DestinationUpdate.java