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

com.hashicorp.cdktf.DataTerraformRemoteStateOss Maven / Gradle / Ivy

There is a newer version: 0.21.0-pre.141
Show newest version
package com.hashicorp.cdktf;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.79.0 (build b22f628)", date = "2023-07-26T11:31:27.527Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.$Module.class, fqn = "cdktf.DataTerraformRemoteStateOss")
public class DataTerraformRemoteStateOss extends com.hashicorp.cdktf.TerraformRemoteState {

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

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

    /**
     * @param scope This parameter is required.
     * @param id This parameter is required.
     * @param config This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public DataTerraformRemoteStateOss(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.DataTerraformRemoteStateOssConfig config) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(config, "config is required") });
    }

    /**
     * (experimental) A fluent builder for {@link com.hashicorp.cdktf.DataTerraformRemoteStateOss}.
     */
    @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}.
         * @param scope This parameter is required.
         * @param id This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public static Builder create(final software.constructs.Construct scope, final java.lang.String id) {
            return new Builder(scope, id);
        }

        private final software.constructs.Construct scope;
        private final java.lang.String id;
        private final com.hashicorp.cdktf.DataTerraformRemoteStateOssConfig.Builder config;

        private Builder(final software.constructs.Construct scope, final java.lang.String id) {
            this.scope = scope;
            this.id = id;
            this.config = new com.hashicorp.cdktf.DataTerraformRemoteStateOssConfig.Builder();
        }

        /**
         * @return {@code this}
         * @param defaults This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder defaults(final java.util.Map defaults) {
            this.config.defaults(defaults);
            return this;
        }

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

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

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

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

        /**
         * @return {@code this}
         * @param assumeRole This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder assumeRole(final com.hashicorp.cdktf.OssAssumeRole assumeRole) {
            this.config.assumeRole(assumeRole);
            return this;
        }

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

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

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

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

        /**
         * @return {@code this}
         * @param prefix This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder prefix(final java.lang.String prefix) {
            this.config.prefix(prefix);
            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 java.lang.String profile) {
            this.config.profile(profile);
            return this;
        }

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

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

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

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

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

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

        /**
         * @returns a newly built instance of {@link com.hashicorp.cdktf.DataTerraformRemoteStateOss}.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        @Override
        public com.hashicorp.cdktf.DataTerraformRemoteStateOss build() {
            return new com.hashicorp.cdktf.DataTerraformRemoteStateOss(
                this.scope,
                this.id,
                this.config.build()
            );
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy