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

com.pulumi.aws.quicksight.inputs.DataSetColumnLevelPermissionRuleArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.quicksight.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class DataSetColumnLevelPermissionRuleArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataSetColumnLevelPermissionRuleArgs Empty = new DataSetColumnLevelPermissionRuleArgs();

    /**
     * An array of column names.
     * 
     */
    @Import(name="columnNames")
    private @Nullable Output> columnNames;

    /**
     * @return An array of column names.
     * 
     */
    public Optional>> columnNames() {
        return Optional.ofNullable(this.columnNames);
    }

    /**
     * An array of ARNs for Amazon QuickSight users or groups.
     * 
     */
    @Import(name="principals")
    private @Nullable Output> principals;

    /**
     * @return An array of ARNs for Amazon QuickSight users or groups.
     * 
     */
    public Optional>> principals() {
        return Optional.ofNullable(this.principals);
    }

    private DataSetColumnLevelPermissionRuleArgs() {}

    private DataSetColumnLevelPermissionRuleArgs(DataSetColumnLevelPermissionRuleArgs $) {
        this.columnNames = $.columnNames;
        this.principals = $.principals;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(DataSetColumnLevelPermissionRuleArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private DataSetColumnLevelPermissionRuleArgs $;

        public Builder() {
            $ = new DataSetColumnLevelPermissionRuleArgs();
        }

        public Builder(DataSetColumnLevelPermissionRuleArgs defaults) {
            $ = new DataSetColumnLevelPermissionRuleArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param columnNames An array of column names.
         * 
         * @return builder
         * 
         */
        public Builder columnNames(@Nullable Output> columnNames) {
            $.columnNames = columnNames;
            return this;
        }

        /**
         * @param columnNames An array of column names.
         * 
         * @return builder
         * 
         */
        public Builder columnNames(List columnNames) {
            return columnNames(Output.of(columnNames));
        }

        /**
         * @param columnNames An array of column names.
         * 
         * @return builder
         * 
         */
        public Builder columnNames(String... columnNames) {
            return columnNames(List.of(columnNames));
        }

        /**
         * @param principals An array of ARNs for Amazon QuickSight users or groups.
         * 
         * @return builder
         * 
         */
        public Builder principals(@Nullable Output> principals) {
            $.principals = principals;
            return this;
        }

        /**
         * @param principals An array of ARNs for Amazon QuickSight users or groups.
         * 
         * @return builder
         * 
         */
        public Builder principals(List principals) {
            return principals(Output.of(principals));
        }

        /**
         * @param principals An array of ARNs for Amazon QuickSight users or groups.
         * 
         * @return builder
         * 
         */
        public Builder principals(String... principals) {
            return principals(List.of(principals));
        }

        public DataSetColumnLevelPermissionRuleArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy