All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.cdklabs.cdk.appflow.S3Destination Maven / Gradle / Ivy

package io.github.cdklabs.cdk.appflow;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-11T10:39:08.271Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.appflow.$Module.class, fqn = "@cdklabs/cdk-appflow.S3Destination")
public class S3Destination extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdk.appflow.IDestination {

    protected S3Destination(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected S3Destination(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public S3Destination(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.S3DestinationProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
    }

    /**
     * @param flow This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @Override
    public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appflow.CfnFlow.DestinationFlowConfigProperty bind(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.IFlow flow) {
        return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appflow.CfnFlow.DestinationFlowConfigProperty.class), new Object[] { java.util.Objects.requireNonNull(flow, "flow is required") });
    }

    /**
     * (experimental) The AppFlow type of the connector that this source is implemented for.
     */
    @Override
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.ConnectorType getConnectorType() {
        return software.amazon.jsii.Kernel.get(this, "connectorType", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.ConnectorType.class));
    }

    /**
     * (experimental) A fluent builder for {@link io.github.cdklabs.cdk.appflow.S3Destination}.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static final class Builder implements software.amazon.jsii.Builder {
        /**
         * @return a new instance of {@link Builder}.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public static Builder create() {
            return new Builder();
        }

        private final io.github.cdklabs.cdk.appflow.S3DestinationProps.Builder props;

        private Builder() {
            this.props = new io.github.cdklabs.cdk.appflow.S3DestinationProps.Builder();
        }

        /**
         * (experimental) The S3 location of the files with the retrieved data.
         * 

* @return {@code this} * @param location The S3 location of the files with the retrieved data. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder location(final io.github.cdklabs.cdk.appflow.S3Location location) { this.props.location(location); return this; } /** * (experimental) The AWS Glue cataloging options. *

* @return {@code this} * @param catalog The AWS Glue cataloging options. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder catalog(final io.github.cdklabs.cdk.appflow.S3Catalog catalog) { this.props.catalog(catalog); return this; } /** * (experimental) The formatting options for the output files. *

* @return {@code this} * @param formatting The formatting options for the output files. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder formatting(final io.github.cdklabs.cdk.appflow.S3OutputFormatting formatting) { this.props.formatting(formatting); return this; } /** * @return a newly built instance of {@link io.github.cdklabs.cdk.appflow.S3Destination}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public io.github.cdklabs.cdk.appflow.S3Destination build() { return new io.github.cdklabs.cdk.appflow.S3Destination( this.props.build() ); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy