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

com.pulumi.azurenative.authorization.inputs.PrivateLinkAssociationPropertiesArgs 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.authorization.inputs;

import com.pulumi.azurenative.authorization.enums.PublicNetworkAccessOptions;
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;


public final class PrivateLinkAssociationPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrivateLinkAssociationPropertiesArgs Empty = new PrivateLinkAssociationPropertiesArgs();

    /**
     * The rmpl Resource ID.
     * 
     */
    @Import(name="privateLink")
    private @Nullable Output privateLink;

    /**
     * @return The rmpl Resource ID.
     * 
     */
    public Optional> privateLink() {
        return Optional.ofNullable(this.privateLink);
    }

    @Import(name="publicNetworkAccess")
    private @Nullable Output> publicNetworkAccess;

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

    private PrivateLinkAssociationPropertiesArgs() {}

    private PrivateLinkAssociationPropertiesArgs(PrivateLinkAssociationPropertiesArgs $) {
        this.privateLink = $.privateLink;
        this.publicNetworkAccess = $.publicNetworkAccess;
    }

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

    public static final class Builder {
        private PrivateLinkAssociationPropertiesArgs $;

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

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

        /**
         * @param privateLink The rmpl Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder privateLink(@Nullable Output privateLink) {
            $.privateLink = privateLink;
            return this;
        }

        /**
         * @param privateLink The rmpl Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder privateLink(String privateLink) {
            return privateLink(Output.of(privateLink));
        }

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

        public Builder publicNetworkAccess(Either publicNetworkAccess) {
            return publicNetworkAccess(Output.of(publicNetworkAccess));
        }

        public Builder publicNetworkAccess(String publicNetworkAccess) {
            return publicNetworkAccess(Either.ofLeft(publicNetworkAccess));
        }

        public Builder publicNetworkAccess(PublicNetworkAccessOptions publicNetworkAccess) {
            return publicNetworkAccess(Either.ofRight(publicNetworkAccess));
        }

        public PrivateLinkAssociationPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy