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

com.pulumi.azurenative.batch.inputs.NetworkProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.batch.inputs;

import com.pulumi.azurenative.batch.inputs.EndpointAccessProfileArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Network profile for Batch account, which contains network rule settings for each endpoint.
 * 
 */
public final class NetworkProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkProfileArgs Empty = new NetworkProfileArgs();

    /**
     * Network access profile for batchAccount endpoint (Batch account data plane API).
     * 
     */
    @Import(name="accountAccess")
    private @Nullable Output accountAccess;

    /**
     * @return Network access profile for batchAccount endpoint (Batch account data plane API).
     * 
     */
    public Optional> accountAccess() {
        return Optional.ofNullable(this.accountAccess);
    }

    /**
     * Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
     * 
     */
    @Import(name="nodeManagementAccess")
    private @Nullable Output nodeManagementAccess;

    /**
     * @return Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
     * 
     */
    public Optional> nodeManagementAccess() {
        return Optional.ofNullable(this.nodeManagementAccess);
    }

    private NetworkProfileArgs() {}

    private NetworkProfileArgs(NetworkProfileArgs $) {
        this.accountAccess = $.accountAccess;
        this.nodeManagementAccess = $.nodeManagementAccess;
    }

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

    public static final class Builder {
        private NetworkProfileArgs $;

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

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

        /**
         * @param accountAccess Network access profile for batchAccount endpoint (Batch account data plane API).
         * 
         * @return builder
         * 
         */
        public Builder accountAccess(@Nullable Output accountAccess) {
            $.accountAccess = accountAccess;
            return this;
        }

        /**
         * @param accountAccess Network access profile for batchAccount endpoint (Batch account data plane API).
         * 
         * @return builder
         * 
         */
        public Builder accountAccess(EndpointAccessProfileArgs accountAccess) {
            return accountAccess(Output.of(accountAccess));
        }

        /**
         * @param nodeManagementAccess Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
         * 
         * @return builder
         * 
         */
        public Builder nodeManagementAccess(@Nullable Output nodeManagementAccess) {
            $.nodeManagementAccess = nodeManagementAccess;
            return this;
        }

        /**
         * @param nodeManagementAccess Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
         * 
         * @return builder
         * 
         */
        public Builder nodeManagementAccess(EndpointAccessProfileArgs nodeManagementAccess) {
            return nodeManagementAccess(Output.of(nodeManagementAccess));
        }

        public NetworkProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy