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

com.pulumi.azurenative.dbforpostgresql.inputs.NetworkArgs 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.dbforpostgresql.inputs;

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;


/**
 * Network properties of a server.
 * 
 */
public final class NetworkArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkArgs Empty = new NetworkArgs();

    /**
     * Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
     * 
     */
    @Import(name="delegatedSubnetResourceId")
    private @Nullable Output delegatedSubnetResourceId;

    /**
     * @return Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
     * 
     */
    public Optional> delegatedSubnetResourceId() {
        return Optional.ofNullable(this.delegatedSubnetResourceId);
    }

    /**
     * Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
     * 
     */
    @Import(name="privateDnsZoneArmResourceId")
    private @Nullable Output privateDnsZoneArmResourceId;

    /**
     * @return Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
     * 
     */
    public Optional> privateDnsZoneArmResourceId() {
        return Optional.ofNullable(this.privateDnsZoneArmResourceId);
    }

    private NetworkArgs() {}

    private NetworkArgs(NetworkArgs $) {
        this.delegatedSubnetResourceId = $.delegatedSubnetResourceId;
        this.privateDnsZoneArmResourceId = $.privateDnsZoneArmResourceId;
    }

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

    public static final class Builder {
        private NetworkArgs $;

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

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

        /**
         * @param delegatedSubnetResourceId Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
         * 
         * @return builder
         * 
         */
        public Builder delegatedSubnetResourceId(@Nullable Output delegatedSubnetResourceId) {
            $.delegatedSubnetResourceId = delegatedSubnetResourceId;
            return this;
        }

        /**
         * @param delegatedSubnetResourceId Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
         * 
         * @return builder
         * 
         */
        public Builder delegatedSubnetResourceId(String delegatedSubnetResourceId) {
            return delegatedSubnetResourceId(Output.of(delegatedSubnetResourceId));
        }

        /**
         * @param privateDnsZoneArmResourceId Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
         * 
         * @return builder
         * 
         */
        public Builder privateDnsZoneArmResourceId(@Nullable Output privateDnsZoneArmResourceId) {
            $.privateDnsZoneArmResourceId = privateDnsZoneArmResourceId;
            return this;
        }

        /**
         * @param privateDnsZoneArmResourceId Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
         * 
         * @return builder
         * 
         */
        public Builder privateDnsZoneArmResourceId(String privateDnsZoneArmResourceId) {
            return privateDnsZoneArmResourceId(Output.of(privateDnsZoneArmResourceId));
        }

        public NetworkArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy