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

com.pulumi.azurenative.containerregistry.inputs.GetTaskRunPlainArgs Maven / Gradle / Ivy

// *** 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.containerregistry.inputs;

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


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

    public static final GetTaskRunPlainArgs Empty = new GetTaskRunPlainArgs();

    /**
     * The name of the container registry.
     * 
     */
    @Import(name="registryName", required=true)
    private String registryName;

    /**
     * @return The name of the container registry.
     * 
     */
    public String registryName() {
        return this.registryName;
    }

    /**
     * The name of the resource group to which the container registry belongs.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group to which the container registry belongs.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the task run.
     * 
     */
    @Import(name="taskRunName", required=true)
    private String taskRunName;

    /**
     * @return The name of the task run.
     * 
     */
    public String taskRunName() {
        return this.taskRunName;
    }

    private GetTaskRunPlainArgs() {}

    private GetTaskRunPlainArgs(GetTaskRunPlainArgs $) {
        this.registryName = $.registryName;
        this.resourceGroupName = $.resourceGroupName;
        this.taskRunName = $.taskRunName;
    }

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

    public static final class Builder {
        private GetTaskRunPlainArgs $;

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

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

        /**
         * @param registryName The name of the container registry.
         * 
         * @return builder
         * 
         */
        public Builder registryName(String registryName) {
            $.registryName = registryName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group to which the container registry belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param taskRunName The name of the task run.
         * 
         * @return builder
         * 
         */
        public Builder taskRunName(String taskRunName) {
            $.taskRunName = taskRunName;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy