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

com.pulumi.googlenative.dataplex.v1.inputs.GetDataTaxonomyAttributeIamPolicyArgs Maven / Gradle / Ivy

// *** 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.googlenative.dataplex.v1.inputs;

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


public final class GetDataTaxonomyAttributeIamPolicyArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetDataTaxonomyAttributeIamPolicyArgs Empty = new GetDataTaxonomyAttributeIamPolicyArgs();

    @Import(name="attributeId", required=true)
    private Output attributeId;

    public Output attributeId() {
        return this.attributeId;
    }

    @Import(name="dataTaxonomyId", required=true)
    private Output dataTaxonomyId;

    public Output dataTaxonomyId() {
        return this.dataTaxonomyId;
    }

    @Import(name="location", required=true)
    private Output location;

    public Output location() {
        return this.location;
    }

    @Import(name="optionsRequestedPolicyVersion")
    private @Nullable Output optionsRequestedPolicyVersion;

    public Optional> optionsRequestedPolicyVersion() {
        return Optional.ofNullable(this.optionsRequestedPolicyVersion);
    }

    @Import(name="project")
    private @Nullable Output project;

    public Optional> project() {
        return Optional.ofNullable(this.project);
    }

    private GetDataTaxonomyAttributeIamPolicyArgs() {}

    private GetDataTaxonomyAttributeIamPolicyArgs(GetDataTaxonomyAttributeIamPolicyArgs $) {
        this.attributeId = $.attributeId;
        this.dataTaxonomyId = $.dataTaxonomyId;
        this.location = $.location;
        this.optionsRequestedPolicyVersion = $.optionsRequestedPolicyVersion;
        this.project = $.project;
    }

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

    public static final class Builder {
        private GetDataTaxonomyAttributeIamPolicyArgs $;

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

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

        public Builder attributeId(Output attributeId) {
            $.attributeId = attributeId;
            return this;
        }

        public Builder attributeId(String attributeId) {
            return attributeId(Output.of(attributeId));
        }

        public Builder dataTaxonomyId(Output dataTaxonomyId) {
            $.dataTaxonomyId = dataTaxonomyId;
            return this;
        }

        public Builder dataTaxonomyId(String dataTaxonomyId) {
            return dataTaxonomyId(Output.of(dataTaxonomyId));
        }

        public Builder location(Output location) {
            $.location = location;
            return this;
        }

        public Builder location(String location) {
            return location(Output.of(location));
        }

        public Builder optionsRequestedPolicyVersion(@Nullable Output optionsRequestedPolicyVersion) {
            $.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
            return this;
        }

        public Builder optionsRequestedPolicyVersion(Integer optionsRequestedPolicyVersion) {
            return optionsRequestedPolicyVersion(Output.of(optionsRequestedPolicyVersion));
        }

        public Builder project(@Nullable Output project) {
            $.project = project;
            return this;
        }

        public Builder project(String project) {
            return project(Output.of(project));
        }

        public GetDataTaxonomyAttributeIamPolicyArgs build() {
            $.attributeId = Objects.requireNonNull($.attributeId, "expected parameter 'attributeId' to be non-null");
            $.dataTaxonomyId = Objects.requireNonNull($.dataTaxonomyId, "expected parameter 'dataTaxonomyId' to be non-null");
            $.location = Objects.requireNonNull($.location, "expected parameter 'location' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy