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

com.pulumi.azurenative.communication.inputs.GetCommunicationServiceArgs Maven / Gradle / Ivy

The 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.communication.inputs;

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


public final class GetCommunicationServiceArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCommunicationServiceArgs Empty = new GetCommunicationServiceArgs();

    /**
     * The name of the CommunicationService resource.
     * 
     */
    @Import(name="communicationServiceName", required=true)
    private Output communicationServiceName;

    /**
     * @return The name of the CommunicationService resource.
     * 
     */
    public Output communicationServiceName() {
        return this.communicationServiceName;
    }

    /**
     * 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 GetCommunicationServiceArgs() {}

    private GetCommunicationServiceArgs(GetCommunicationServiceArgs $) {
        this.communicationServiceName = $.communicationServiceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetCommunicationServiceArgs $;

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

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

        /**
         * @param communicationServiceName The name of the CommunicationService resource.
         * 
         * @return builder
         * 
         */
        public Builder communicationServiceName(Output communicationServiceName) {
            $.communicationServiceName = communicationServiceName;
            return this;
        }

        /**
         * @param communicationServiceName The name of the CommunicationService resource.
         * 
         * @return builder
         * 
         */
        public Builder communicationServiceName(String communicationServiceName) {
            return communicationServiceName(Output.of(communicationServiceName));
        }

        /**
         * @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 GetCommunicationServiceArgs build() {
            if ($.communicationServiceName == null) {
                throw new MissingRequiredPropertyException("GetCommunicationServiceArgs", "communicationServiceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetCommunicationServiceArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy