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

com.pulumi.azurenative.app.inputs.RegistryInfoArgs 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.app.inputs;

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;


/**
 * Container App registry information.
 * 
 */
public final class RegistryInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final RegistryInfoArgs Empty = new RegistryInfoArgs();

    /**
     * registry secret.
     * 
     */
    @Import(name="registryPassword")
    private @Nullable Output registryPassword;

    /**
     * @return registry secret.
     * 
     */
    public Optional> registryPassword() {
        return Optional.ofNullable(this.registryPassword);
    }

    /**
     * registry server Url.
     * 
     */
    @Import(name="registryUrl")
    private @Nullable Output registryUrl;

    /**
     * @return registry server Url.
     * 
     */
    public Optional> registryUrl() {
        return Optional.ofNullable(this.registryUrl);
    }

    /**
     * registry username.
     * 
     */
    @Import(name="registryUserName")
    private @Nullable Output registryUserName;

    /**
     * @return registry username.
     * 
     */
    public Optional> registryUserName() {
        return Optional.ofNullable(this.registryUserName);
    }

    private RegistryInfoArgs() {}

    private RegistryInfoArgs(RegistryInfoArgs $) {
        this.registryPassword = $.registryPassword;
        this.registryUrl = $.registryUrl;
        this.registryUserName = $.registryUserName;
    }

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

    public static final class Builder {
        private RegistryInfoArgs $;

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

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

        /**
         * @param registryPassword registry secret.
         * 
         * @return builder
         * 
         */
        public Builder registryPassword(@Nullable Output registryPassword) {
            $.registryPassword = registryPassword;
            return this;
        }

        /**
         * @param registryPassword registry secret.
         * 
         * @return builder
         * 
         */
        public Builder registryPassword(String registryPassword) {
            return registryPassword(Output.of(registryPassword));
        }

        /**
         * @param registryUrl registry server Url.
         * 
         * @return builder
         * 
         */
        public Builder registryUrl(@Nullable Output registryUrl) {
            $.registryUrl = registryUrl;
            return this;
        }

        /**
         * @param registryUrl registry server Url.
         * 
         * @return builder
         * 
         */
        public Builder registryUrl(String registryUrl) {
            return registryUrl(Output.of(registryUrl));
        }

        /**
         * @param registryUserName registry username.
         * 
         * @return builder
         * 
         */
        public Builder registryUserName(@Nullable Output registryUserName) {
            $.registryUserName = registryUserName;
            return this;
        }

        /**
         * @param registryUserName registry username.
         * 
         * @return builder
         * 
         */
        public Builder registryUserName(String registryUserName) {
            return registryUserName(Output.of(registryUserName));
        }

        public RegistryInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy