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

com.pulumi.azurenative.appplatform.inputs.BuildServiceAgentPoolPropertiesArgs 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.appplatform.inputs;

import com.pulumi.azurenative.appplatform.inputs.BuildServiceAgentPoolSizePropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Build service agent pool properties
 * 
 */
public final class BuildServiceAgentPoolPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final BuildServiceAgentPoolPropertiesArgs Empty = new BuildServiceAgentPoolPropertiesArgs();

    /**
     * build service agent pool size properties
     * 
     */
    @Import(name="poolSize")
    private @Nullable Output poolSize;

    /**
     * @return build service agent pool size properties
     * 
     */
    public Optional> poolSize() {
        return Optional.ofNullable(this.poolSize);
    }

    private BuildServiceAgentPoolPropertiesArgs() {}

    private BuildServiceAgentPoolPropertiesArgs(BuildServiceAgentPoolPropertiesArgs $) {
        this.poolSize = $.poolSize;
    }

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

    public static final class Builder {
        private BuildServiceAgentPoolPropertiesArgs $;

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

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

        /**
         * @param poolSize build service agent pool size properties
         * 
         * @return builder
         * 
         */
        public Builder poolSize(@Nullable Output poolSize) {
            $.poolSize = poolSize;
            return this;
        }

        /**
         * @param poolSize build service agent pool size properties
         * 
         * @return builder
         * 
         */
        public Builder poolSize(BuildServiceAgentPoolSizePropertiesArgs poolSize) {
            return poolSize(Output.of(poolSize));
        }

        public BuildServiceAgentPoolPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy