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

com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalSecurityConfigArgs 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 user cluster.
 * 
 */
public final class BareMetalSecurityConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final BareMetalSecurityConfigArgs Empty = new BareMetalSecurityConfigArgs();

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

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

    private BareMetalSecurityConfigArgs() {}

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

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

    public static final class Builder {
        private BareMetalSecurityConfigArgs $;

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

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

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

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

        public BareMetalSecurityConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy