/** * <p> * Settings in JSON format for the target S3 endpoint. For more information about the available settings, see * the <b>Extra Connection Attributes</b> section at <a * href="http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html"> Using Amazon S3 as a Target for * AWS Database Migration Service</a>. * </p> * This is a convenience that creates an instance of the {@link S3Settings.Builder} avoiding the need to create * one manually via {@link S3Settings#builder()}. * * When the {@link Consumer} completes, {@link S3Settings.Builder#build()} is called immediately and its result * is passed to {@link #s3Settings(S3Settings)}. * * @param s3Settings * a consumer that will call methods on {@link S3Settings.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #s3Settings(S3Settings) */ default Builder s3Settings(Consumer<S3Settings.Builder> s3Settings) { return s3Settings(S3Settings.builder().applyMutation(s3Settings).build()); }
/** * <p> * Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, * see <a * href="http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring">Extra * Connection Attributes When Using Amazon S3 as a Target for AWS DMS</a> in the <i>AWS Database Migration * Service User Guide.</i> * </p> * This is a convenience that creates an instance of the {@link S3Settings.Builder} avoiding the need to create * one manually via {@link S3Settings#builder()}. * * When the {@link Consumer} completes, {@link S3Settings.Builder#build()} is called immediately and its result * is passed to {@link #s3Settings(S3Settings)}. * * @param s3Settings * a consumer that will call methods on {@link S3Settings.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #s3Settings(S3Settings) */ default Builder s3Settings(Consumer<S3Settings.Builder> s3Settings) { return s3Settings(S3Settings.builder().applyMutation(s3Settings).build()); }
/** * <p> * Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, * see <a * href="http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring">Extra * Connection Attributes When Using Amazon S3 as a Target for AWS DMS</a> in the <i>AWS Database Migration * Service User Guide.</i> * </p> * This is a convenience that creates an instance of the {@link S3Settings.Builder} avoiding the need to create * one manually via {@link S3Settings#builder()}. * * When the {@link Consumer} completes, {@link S3Settings.Builder#build()} is called immediately and its result * is passed to {@link #s3Settings(S3Settings)}. * * @param s3Settings * a consumer that will call methods on {@link S3Settings.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #s3Settings(S3Settings) */ default Builder s3Settings(Consumer<S3Settings.Builder> s3Settings) { return s3Settings(S3Settings.builder().applyMutation(s3Settings).build()); }