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

com.pulumi.azurenative.batch.inputs.ContainerRegistryArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.batch.inputs;

import com.pulumi.azurenative.batch.inputs.ComputeNodeIdentityReferenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ContainerRegistryArgs extends com.pulumi.resources.ResourceArgs {

    public static final ContainerRegistryArgs Empty = new ContainerRegistryArgs();

    /**
     * The reference to a user assigned identity associated with the Batch pool which a compute node will use.
     * 
     */
    @Import(name="identityReference")
    private @Nullable Output identityReference;

    /**
     * @return The reference to a user assigned identity associated with the Batch pool which a compute node will use.
     * 
     */
    public Optional> identityReference() {
        return Optional.ofNullable(this.identityReference);
    }

    @Import(name="password")
    private @Nullable Output password;

    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * If omitted, the default is "docker.io".
     * 
     */
    @Import(name="registryServer")
    private @Nullable Output registryServer;

    /**
     * @return If omitted, the default is "docker.io".
     * 
     */
    public Optional> registryServer() {
        return Optional.ofNullable(this.registryServer);
    }

    @Import(name="userName")
    private @Nullable Output userName;

    public Optional> userName() {
        return Optional.ofNullable(this.userName);
    }

    private ContainerRegistryArgs() {}

    private ContainerRegistryArgs(ContainerRegistryArgs $) {
        this.identityReference = $.identityReference;
        this.password = $.password;
        this.registryServer = $.registryServer;
        this.userName = $.userName;
    }

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

    public static final class Builder {
        private ContainerRegistryArgs $;

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

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

        /**
         * @param identityReference The reference to a user assigned identity associated with the Batch pool which a compute node will use.
         * 
         * @return builder
         * 
         */
        public Builder identityReference(@Nullable Output identityReference) {
            $.identityReference = identityReference;
            return this;
        }

        /**
         * @param identityReference The reference to a user assigned identity associated with the Batch pool which a compute node will use.
         * 
         * @return builder
         * 
         */
        public Builder identityReference(ComputeNodeIdentityReferenceArgs identityReference) {
            return identityReference(Output.of(identityReference));
        }

        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param registryServer If omitted, the default is "docker.io".
         * 
         * @return builder
         * 
         */
        public Builder registryServer(@Nullable Output registryServer) {
            $.registryServer = registryServer;
            return this;
        }

        /**
         * @param registryServer If omitted, the default is "docker.io".
         * 
         * @return builder
         * 
         */
        public Builder registryServer(String registryServer) {
            return registryServer(Output.of(registryServer));
        }

        public Builder userName(@Nullable Output userName) {
            $.userName = userName;
            return this;
        }

        public Builder userName(String userName) {
            return userName(Output.of(userName));
        }

        public ContainerRegistryArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy