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

com.pulumi.azurenative.machinelearning.inputs.GetWebServiceArgs 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.machinelearning.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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetWebServiceArgs Empty = new GetWebServiceArgs();

    /**
     * The region for which encrypted credential parameters are valid.
     * 
     */
    @Import(name="region")
    private @Nullable Output region;

    /**
     * @return The region for which encrypted credential parameters are valid.
     * 
     */
    public Optional> region() {
        return Optional.ofNullable(this.region);
    }

    /**
     * Name of the resource group in which the web service is located.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Name of the resource group in which the web service is located.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the web service.
     * 
     */
    @Import(name="webServiceName", required=true)
    private Output webServiceName;

    /**
     * @return The name of the web service.
     * 
     */
    public Output webServiceName() {
        return this.webServiceName;
    }

    private GetWebServiceArgs() {}

    private GetWebServiceArgs(GetWebServiceArgs $) {
        this.region = $.region;
        this.resourceGroupName = $.resourceGroupName;
        this.webServiceName = $.webServiceName;
    }

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

    public static final class Builder {
        private GetWebServiceArgs $;

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

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

        /**
         * @param region The region for which encrypted credential parameters are valid.
         * 
         * @return builder
         * 
         */
        public Builder region(@Nullable Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region The region for which encrypted credential parameters are valid.
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        /**
         * @param resourceGroupName Name of the resource group in which the web service is located.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the resource group in which the web service is located.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param webServiceName The name of the web service.
         * 
         * @return builder
         * 
         */
        public Builder webServiceName(Output webServiceName) {
            $.webServiceName = webServiceName;
            return this;
        }

        /**
         * @param webServiceName The name of the web service.
         * 
         * @return builder
         * 
         */
        public Builder webServiceName(String webServiceName) {
            return webServiceName(Output.of(webServiceName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy