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

com.pulumi.azure.appplatform.inputs.SpringCloudJavaDeploymentState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.appplatform.inputs;

import com.pulumi.azure.appplatform.inputs.SpringCloudJavaDeploymentQuotaArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SpringCloudJavaDeploymentState Empty = new SpringCloudJavaDeploymentState();

    /**
     * Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
     * 
     */
    @Import(name="environmentVariables")
    private @Nullable Output> environmentVariables;

    /**
     * @return Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
     * 
     */
    public Optional>> environmentVariables() {
        return Optional.ofNullable(this.environmentVariables);
    }

    /**
     * Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
     * 
     */
    @Import(name="instanceCount")
    private @Nullable Output instanceCount;

    /**
     * @return Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
     * 
     */
    public Optional> instanceCount() {
        return Optional.ofNullable(this.instanceCount);
    }

    /**
     * Specifies the jvm option of the Spring Cloud Deployment.
     * 
     */
    @Import(name="jvmOptions")
    private @Nullable Output jvmOptions;

    /**
     * @return Specifies the jvm option of the Spring Cloud Deployment.
     * 
     */
    public Optional> jvmOptions() {
        return Optional.ofNullable(this.jvmOptions);
    }

    /**
     * Specifies the name of the Spring Cloud Deployment. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the Spring Cloud Deployment. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A `quota` block as defined below.
     * 
     */
    @Import(name="quota")
    private @Nullable Output quota;

    /**
     * @return A `quota` block as defined below.
     * 
     */
    public Optional> quota() {
        return Optional.ofNullable(this.quota);
    }

    /**
     * Specifies the runtime version of the Spring Cloud Deployment. Possible Values are `Java_8`, `Java_11` and `Java_17`. Defaults to `Java_8`.
     * 
     */
    @Import(name="runtimeVersion")
    private @Nullable Output runtimeVersion;

    /**
     * @return Specifies the runtime version of the Spring Cloud Deployment. Possible Values are `Java_8`, `Java_11` and `Java_17`. Defaults to `Java_8`.
     * 
     */
    public Optional> runtimeVersion() {
        return Optional.ofNullable(this.runtimeVersion);
    }

    /**
     * Specifies the id of the Spring Cloud Application in which to create the Deployment. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="springCloudAppId")
    private @Nullable Output springCloudAppId;

    /**
     * @return Specifies the id of the Spring Cloud Application in which to create the Deployment. Changing this forces a new resource to be created.
     * 
     */
    public Optional> springCloudAppId() {
        return Optional.ofNullable(this.springCloudAppId);
    }

    private SpringCloudJavaDeploymentState() {}

    private SpringCloudJavaDeploymentState(SpringCloudJavaDeploymentState $) {
        this.environmentVariables = $.environmentVariables;
        this.instanceCount = $.instanceCount;
        this.jvmOptions = $.jvmOptions;
        this.name = $.name;
        this.quota = $.quota;
        this.runtimeVersion = $.runtimeVersion;
        this.springCloudAppId = $.springCloudAppId;
    }

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

    public static final class Builder {
        private SpringCloudJavaDeploymentState $;

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

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

        /**
         * @param environmentVariables Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
         * 
         * @return builder
         * 
         */
        public Builder environmentVariables(@Nullable Output> environmentVariables) {
            $.environmentVariables = environmentVariables;
            return this;
        }

        /**
         * @param environmentVariables Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
         * 
         * @return builder
         * 
         */
        public Builder environmentVariables(Map environmentVariables) {
            return environmentVariables(Output.of(environmentVariables));
        }

        /**
         * @param instanceCount Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
         * 
         * @return builder
         * 
         */
        public Builder instanceCount(@Nullable Output instanceCount) {
            $.instanceCount = instanceCount;
            return this;
        }

        /**
         * @param instanceCount Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
         * 
         * @return builder
         * 
         */
        public Builder instanceCount(Integer instanceCount) {
            return instanceCount(Output.of(instanceCount));
        }

        /**
         * @param jvmOptions Specifies the jvm option of the Spring Cloud Deployment.
         * 
         * @return builder
         * 
         */
        public Builder jvmOptions(@Nullable Output jvmOptions) {
            $.jvmOptions = jvmOptions;
            return this;
        }

        /**
         * @param jvmOptions Specifies the jvm option of the Spring Cloud Deployment.
         * 
         * @return builder
         * 
         */
        public Builder jvmOptions(String jvmOptions) {
            return jvmOptions(Output.of(jvmOptions));
        }

        /**
         * @param name Specifies the name of the Spring Cloud Deployment. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Spring Cloud Deployment. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param quota A `quota` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder quota(@Nullable Output quota) {
            $.quota = quota;
            return this;
        }

        /**
         * @param quota A `quota` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder quota(SpringCloudJavaDeploymentQuotaArgs quota) {
            return quota(Output.of(quota));
        }

        /**
         * @param runtimeVersion Specifies the runtime version of the Spring Cloud Deployment. Possible Values are `Java_8`, `Java_11` and `Java_17`. Defaults to `Java_8`.
         * 
         * @return builder
         * 
         */
        public Builder runtimeVersion(@Nullable Output runtimeVersion) {
            $.runtimeVersion = runtimeVersion;
            return this;
        }

        /**
         * @param runtimeVersion Specifies the runtime version of the Spring Cloud Deployment. Possible Values are `Java_8`, `Java_11` and `Java_17`. Defaults to `Java_8`.
         * 
         * @return builder
         * 
         */
        public Builder runtimeVersion(String runtimeVersion) {
            return runtimeVersion(Output.of(runtimeVersion));
        }

        /**
         * @param springCloudAppId Specifies the id of the Spring Cloud Application in which to create the Deployment. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder springCloudAppId(@Nullable Output springCloudAppId) {
            $.springCloudAppId = springCloudAppId;
            return this;
        }

        /**
         * @param springCloudAppId Specifies the id of the Spring Cloud Application in which to create the Deployment. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder springCloudAppId(String springCloudAppId) {
            return springCloudAppId(Output.of(springCloudAppId));
        }

        public SpringCloudJavaDeploymentState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy