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

com.pulumi.azurenative.hybridcompute.inputs.HybridComputePrivateLinkScopePropertiesArgs 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.azurenative.hybridcompute.inputs;

import com.pulumi.azurenative.hybridcompute.enums.PublicNetworkAccessType;
import com.pulumi.core.Either;
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;


/**
 * Properties that define a Azure Arc PrivateLinkScope resource.
 * 
 */
public final class HybridComputePrivateLinkScopePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final HybridComputePrivateLinkScopePropertiesArgs Empty = new HybridComputePrivateLinkScopePropertiesArgs();

    /**
     * Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
     * 
     */
    @Import(name="publicNetworkAccess")
    private @Nullable Output> publicNetworkAccess;

    /**
     * @return Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
     * 
     */
    public Optional>> publicNetworkAccess() {
        return Optional.ofNullable(this.publicNetworkAccess);
    }

    private HybridComputePrivateLinkScopePropertiesArgs() {}

    private HybridComputePrivateLinkScopePropertiesArgs(HybridComputePrivateLinkScopePropertiesArgs $) {
        this.publicNetworkAccess = $.publicNetworkAccess;
    }

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

    public static final class Builder {
        private HybridComputePrivateLinkScopePropertiesArgs $;

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

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

        /**
         * @param publicNetworkAccess Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(@Nullable Output> publicNetworkAccess) {
            $.publicNetworkAccess = publicNetworkAccess;
            return this;
        }

        /**
         * @param publicNetworkAccess Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(Either publicNetworkAccess) {
            return publicNetworkAccess(Output.of(publicNetworkAccess));
        }

        /**
         * @param publicNetworkAccess Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(String publicNetworkAccess) {
            return publicNetworkAccess(Either.ofLeft(publicNetworkAccess));
        }

        /**
         * @param publicNetworkAccess Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(PublicNetworkAccessType publicNetworkAccess) {
            return publicNetworkAccess(Either.ofRight(publicNetworkAccess));
        }

        public HybridComputePrivateLinkScopePropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy