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

com.pulumi.azurenative.delegatednetwork.DelegatedSubnetServiceDetailsArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.delegatednetwork;

import com.pulumi.azurenative.delegatednetwork.inputs.ControllerDetailsArgs;
import com.pulumi.azurenative.delegatednetwork.inputs.SubnetDetailsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DelegatedSubnetServiceDetailsArgs Empty = new DelegatedSubnetServiceDetailsArgs();

    /**
     * Properties of the controller.
     * 
     */
    @Import(name="controllerDetails")
    private @Nullable Output controllerDetails;

    /**
     * @return Properties of the controller.
     * 
     */
    public Optional> controllerDetails() {
        return Optional.ofNullable(this.controllerDetails);
    }

    /**
     * Location of the resource.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Location of the resource.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
     * 
     */
    @Import(name="resourceName")
    private @Nullable Output resourceName;

    /**
     * @return The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
     * 
     */
    public Optional> resourceName() {
        return Optional.ofNullable(this.resourceName);
    }

    /**
     * subnet details
     * 
     */
    @Import(name="subnetDetails")
    private @Nullable Output subnetDetails;

    /**
     * @return subnet details
     * 
     */
    public Optional> subnetDetails() {
        return Optional.ofNullable(this.subnetDetails);
    }

    /**
     * The resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return The resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private DelegatedSubnetServiceDetailsArgs() {}

    private DelegatedSubnetServiceDetailsArgs(DelegatedSubnetServiceDetailsArgs $) {
        this.controllerDetails = $.controllerDetails;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceName = $.resourceName;
        this.subnetDetails = $.subnetDetails;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private DelegatedSubnetServiceDetailsArgs $;

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

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

        /**
         * @param controllerDetails Properties of the controller.
         * 
         * @return builder
         * 
         */
        public Builder controllerDetails(@Nullable Output controllerDetails) {
            $.controllerDetails = controllerDetails;
            return this;
        }

        /**
         * @param controllerDetails Properties of the controller.
         * 
         * @return builder
         * 
         */
        public Builder controllerDetails(ControllerDetailsArgs controllerDetails) {
            return controllerDetails(Output.of(controllerDetails));
        }

        /**
         * @param location Location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(@Nullable Output resourceName) {
            $.resourceName = resourceName;
            return this;
        }

        /**
         * @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(String resourceName) {
            return resourceName(Output.of(resourceName));
        }

        /**
         * @param subnetDetails subnet details
         * 
         * @return builder
         * 
         */
        public Builder subnetDetails(@Nullable Output subnetDetails) {
            $.subnetDetails = subnetDetails;
            return this;
        }

        /**
         * @param subnetDetails subnet details
         * 
         * @return builder
         * 
         */
        public Builder subnetDetails(SubnetDetailsArgs subnetDetails) {
            return subnetDetails(Output.of(subnetDetails));
        }

        /**
         * @param tags The resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags The resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public DelegatedSubnetServiceDetailsArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("DelegatedSubnetServiceDetailsArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy