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

com.pulumi.googlenative.accesscontextmanager.v1beta.inputs.GetAccessLevelArgs 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.accesscontextmanager.v1beta.inputs;

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


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

    public static final GetAccessLevelArgs Empty = new GetAccessLevelArgs();

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

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

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

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

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

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

    private GetAccessLevelArgs() {}

    private GetAccessLevelArgs(GetAccessLevelArgs $) {
        this.accessLevelFormat = $.accessLevelFormat;
        this.accessLevelId = $.accessLevelId;
        this.accessPolicyId = $.accessPolicyId;
    }

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

    public static final class Builder {
        private GetAccessLevelArgs $;

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

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

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

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

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

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

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

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

        public GetAccessLevelArgs build() {
            $.accessLevelId = Objects.requireNonNull($.accessLevelId, "expected parameter 'accessLevelId' to be non-null");
            $.accessPolicyId = Objects.requireNonNull($.accessPolicyId, "expected parameter 'accessPolicyId' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy