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

com.pulumi.azurenative.databox.inputs.ListJobCredentialsArgs 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.databox.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 ListJobCredentialsArgs extends com.pulumi.resources.InvokeArgs {

    public static final ListJobCredentialsArgs Empty = new ListJobCredentialsArgs();

    /**
     * The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
     * 
     */
    @Import(name="jobName", required=true)
    private Output jobName;

    /**
     * @return The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
     * 
     */
    public Output jobName() {
        return this.jobName;
    }

    /**
     * The Resource Group Name
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The Resource Group Name
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private ListJobCredentialsArgs() {}

    private ListJobCredentialsArgs(ListJobCredentialsArgs $) {
        this.jobName = $.jobName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private ListJobCredentialsArgs $;

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

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

        /**
         * @param jobName The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
         * 
         * @return builder
         * 
         */
        public Builder jobName(Output jobName) {
            $.jobName = jobName;
            return this;
        }

        /**
         * @param jobName The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
         * 
         * @return builder
         * 
         */
        public Builder jobName(String jobName) {
            return jobName(Output.of(jobName));
        }

        /**
         * @param resourceGroupName The Resource Group Name
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The Resource Group Name
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy