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

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

There is a newer version: 0.0.44
Show newest version
package io.github.cdklabs.cdk.appflow;

/**
 * (experimental) A class that represents a Microsoft Sharepoint Online Source.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-11T10:39:08.265Z")
@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.MicrosoftSharepointOnlineSource")
public class MicrosoftSharepointOnlineSource extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdk.appflow.ISource {

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

    protected MicrosoftSharepointOnlineSource(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 MicrosoftSharepointOnlineSource(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.MicrosoftSharepointOnlineSourceProps 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 scope 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.SourceFlowConfigProperty bind(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.IFlow scope) {
        return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appflow.CfnFlow.SourceFlowConfigProperty.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope 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.MicrosoftSharepointOnlineSource}.
     */
    @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.MicrosoftSharepointOnlineSourceProps.Builder props;

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

        /**
         * @return {@code this}
         * @param apiVersion This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder apiVersion(final java.lang.String apiVersion) {
            this.props.apiVersion(apiVersion);
            return this;
        }

        /**
         * @return {@code this}
         * @param object This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder object(final io.github.cdklabs.cdk.appflow.MicrosoftSharepointOnlineObject object) {
            this.props.object(object);
            return this;
        }

        /**
         * @return {@code this}
         * @param profile This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder profile(final io.github.cdklabs.cdk.appflow.MicrosoftSharepointOnlineConnectorProfile profile) {
            this.props.profile(profile);
            return this;
        }

        /**
         * @return a newly built instance of {@link io.github.cdklabs.cdk.appflow.MicrosoftSharepointOnlineSource}.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        @Override
        public io.github.cdklabs.cdk.appflow.MicrosoftSharepointOnlineSource build() {
            return new io.github.cdklabs.cdk.appflow.MicrosoftSharepointOnlineSource(
                this.props.build()
            );
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy