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

com.pulumi.azure.containerservice.inputs.GetRegistryScopeMapPlainArgs 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.azure.containerservice.inputs;

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


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

    public static final GetRegistryScopeMapPlainArgs Empty = new GetRegistryScopeMapPlainArgs();

    /**
     * The Name of the Container Registry where the token exists.
     * 
     */
    @Import(name="containerRegistryName", required=true)
    private String containerRegistryName;

    /**
     * @return The Name of the Container Registry where the token exists.
     * 
     */
    public String containerRegistryName() {
        return this.containerRegistryName;
    }

    /**
     * The name of the Container Registry token.
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return The name of the Container Registry token.
     * 
     */
    public String name() {
        return this.name;
    }

    /**
     * The Name of the Resource Group where this Container Registry token exists.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The Name of the Resource Group where this Container Registry token exists.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetRegistryScopeMapPlainArgs() {}

    private GetRegistryScopeMapPlainArgs(GetRegistryScopeMapPlainArgs $) {
        this.containerRegistryName = $.containerRegistryName;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetRegistryScopeMapPlainArgs $;

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

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

        /**
         * @param containerRegistryName The Name of the Container Registry where the token exists.
         * 
         * @return builder
         * 
         */
        public Builder containerRegistryName(String containerRegistryName) {
            $.containerRegistryName = containerRegistryName;
            return this;
        }

        /**
         * @param name The name of the Container Registry token.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

        /**
         * @param resourceGroupName The Name of the Resource Group where this Container Registry token exists.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetRegistryScopeMapPlainArgs build() {
            if ($.containerRegistryName == null) {
                throw new MissingRequiredPropertyException("GetRegistryScopeMapPlainArgs", "containerRegistryName");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetRegistryScopeMapPlainArgs", "name");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetRegistryScopeMapPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy