public AmazonopensearchserviceDestinationConfiguration withS3Configuration(S3DestinationConfiguration s3Configuration) {
        setS3Configuration(s3Configuration);
        return this;
    }
@param s3Configuration
@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/AmazonopensearchserviceDestinationConfiguration.java