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

com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalAdminSecurityConfigArgs 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.gkeonprem.v1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.googlenative.gkeonprem.v1.inputs.AuthorizationArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Specifies the security related settings for the bare metal admin cluster.
 * 
 */
public final class BareMetalAdminSecurityConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final BareMetalAdminSecurityConfigArgs Empty = new BareMetalAdminSecurityConfigArgs();

    /**
     * Configures user access to the admin cluster.
     * 
     */
    @Import(name="authorization")
    private @Nullable Output authorization;

    /**
     * @return Configures user access to the admin cluster.
     * 
     */
    public Optional> authorization() {
        return Optional.ofNullable(this.authorization);
    }

    private BareMetalAdminSecurityConfigArgs() {}

    private BareMetalAdminSecurityConfigArgs(BareMetalAdminSecurityConfigArgs $) {
        this.authorization = $.authorization;
    }

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

    public static final class Builder {
        private BareMetalAdminSecurityConfigArgs $;

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

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

        /**
         * @param authorization Configures user access to the admin cluster.
         * 
         * @return builder
         * 
         */
        public Builder authorization(@Nullable Output authorization) {
            $.authorization = authorization;
            return this;
        }

        /**
         * @param authorization Configures user access to the admin cluster.
         * 
         * @return builder
         * 
         */
        public Builder authorization(AuthorizationArgs authorization) {
            return authorization(Output.of(authorization));
        }

        public BareMetalAdminSecurityConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy