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

com.pulumi.azurenative.mobilenetwork.DiagnosticsPackageArgs 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.mobilenetwork;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DiagnosticsPackageArgs Empty = new DiagnosticsPackageArgs();

    /**
     * The name of the diagnostics package.
     * 
     */
    @Import(name="diagnosticsPackageName")
    private @Nullable Output diagnosticsPackageName;

    /**
     * @return The name of the diagnostics package.
     * 
     */
    public Optional> diagnosticsPackageName() {
        return Optional.ofNullable(this.diagnosticsPackageName);
    }

    /**
     * The name of the packet core control plane.
     * 
     */
    @Import(name="packetCoreControlPlaneName", required=true)
    private Output packetCoreControlPlaneName;

    /**
     * @return The name of the packet core control plane.
     * 
     */
    public Output packetCoreControlPlaneName() {
        return this.packetCoreControlPlaneName;
    }

    /**
     * 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;
    }

    private DiagnosticsPackageArgs() {}

    private DiagnosticsPackageArgs(DiagnosticsPackageArgs $) {
        this.diagnosticsPackageName = $.diagnosticsPackageName;
        this.packetCoreControlPlaneName = $.packetCoreControlPlaneName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private DiagnosticsPackageArgs $;

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

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

        /**
         * @param diagnosticsPackageName The name of the diagnostics package.
         * 
         * @return builder
         * 
         */
        public Builder diagnosticsPackageName(@Nullable Output diagnosticsPackageName) {
            $.diagnosticsPackageName = diagnosticsPackageName;
            return this;
        }

        /**
         * @param diagnosticsPackageName The name of the diagnostics package.
         * 
         * @return builder
         * 
         */
        public Builder diagnosticsPackageName(String diagnosticsPackageName) {
            return diagnosticsPackageName(Output.of(diagnosticsPackageName));
        }

        /**
         * @param packetCoreControlPlaneName The name of the packet core control plane.
         * 
         * @return builder
         * 
         */
        public Builder packetCoreControlPlaneName(Output packetCoreControlPlaneName) {
            $.packetCoreControlPlaneName = packetCoreControlPlaneName;
            return this;
        }

        /**
         * @param packetCoreControlPlaneName The name of the packet core control plane.
         * 
         * @return builder
         * 
         */
        public Builder packetCoreControlPlaneName(String packetCoreControlPlaneName) {
            return packetCoreControlPlaneName(Output.of(packetCoreControlPlaneName));
        }

        /**
         * @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));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy