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

com.pulumi.azure.appplatform.inputs.SpringCloudBuilderBuildPackGroupArgs 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.appplatform.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SpringCloudBuilderBuildPackGroupArgs Empty = new SpringCloudBuilderBuildPackGroupArgs();

    /**
     * Specifies a list of the build pack's ID.
     * 
     */
    @Import(name="buildPackIds")
    private @Nullable Output> buildPackIds;

    /**
     * @return Specifies a list of the build pack's ID.
     * 
     */
    public Optional>> buildPackIds() {
        return Optional.ofNullable(this.buildPackIds);
    }

    /**
     * The name which should be used for this build pack group.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name which should be used for this build pack group.
     * 
     */
    public Output name() {
        return this.name;
    }

    private SpringCloudBuilderBuildPackGroupArgs() {}

    private SpringCloudBuilderBuildPackGroupArgs(SpringCloudBuilderBuildPackGroupArgs $) {
        this.buildPackIds = $.buildPackIds;
        this.name = $.name;
    }

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

    public static final class Builder {
        private SpringCloudBuilderBuildPackGroupArgs $;

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

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

        /**
         * @param buildPackIds Specifies a list of the build pack's ID.
         * 
         * @return builder
         * 
         */
        public Builder buildPackIds(@Nullable Output> buildPackIds) {
            $.buildPackIds = buildPackIds;
            return this;
        }

        /**
         * @param buildPackIds Specifies a list of the build pack's ID.
         * 
         * @return builder
         * 
         */
        public Builder buildPackIds(List buildPackIds) {
            return buildPackIds(Output.of(buildPackIds));
        }

        /**
         * @param buildPackIds Specifies a list of the build pack's ID.
         * 
         * @return builder
         * 
         */
        public Builder buildPackIds(String... buildPackIds) {
            return buildPackIds(List.of(buildPackIds));
        }

        /**
         * @param name The name which should be used for this build pack group.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this build pack group.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy