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


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

    public static final SpringCloudServiceDefaultBuildServiceArgs Empty = new SpringCloudServiceDefaultBuildServiceArgs();

    /**
     * Specifies the name of the container registry used in the default build service.
     * 
     */
    @Import(name="containerRegistryName")
    private @Nullable Output<String> containerRegistryName;

    /**
     * @return Specifies the name of the container registry used in the default build service.
     * 
     */
    public Optional<Output<String>> containerRegistryName() {
        return Optional.ofNullable(this.containerRegistryName);
    }

    private SpringCloudServiceDefaultBuildServiceArgs() {}

    private SpringCloudServiceDefaultBuildServiceArgs(SpringCloudServiceDefaultBuildServiceArgs $) {
        this.containerRegistryName = $.containerRegistryName;
    }

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

    public static final class Builder {
        private SpringCloudServiceDefaultBuildServiceArgs $;

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

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

        /**
         * @param containerRegistryName Specifies the name of the container registry used in the default build service.
         * 
         * @return builder
         * 
         */
        public Builder containerRegistryName(@Nullable Output<String> containerRegistryName) {
            $.containerRegistryName = containerRegistryName;
            return this;
        }

        /**
         * @param containerRegistryName Specifies the name of the container registry used in the default build service.
         * 
         * @return builder
         * 
         */
        public Builder containerRegistryName(String containerRegistryName) {
            return containerRegistryName(Output.of(containerRegistryName));
        }

        public SpringCloudServiceDefaultBuildServiceArgs build() {
            return $;
        }
    }

}
