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

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

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


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

    public static final SpringCloudAcceleratorArgs Empty = new SpringCloudAcceleratorArgs();

    /**
     * The name which should be used for this Spring Cloud Accelerator. Changing this forces a new Spring Cloud Accelerator to be created. The only possible value is `default`.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Spring Cloud Accelerator. Changing this forces a new Spring Cloud Accelerator to be created. The only possible value is `default`.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Accelerator to be created.
     * 
     */
    @Import(name="springCloudServiceId", required=true)
    private Output springCloudServiceId;

    /**
     * @return The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Accelerator to be created.
     * 
     */
    public Output springCloudServiceId() {
        return this.springCloudServiceId;
    }

    private SpringCloudAcceleratorArgs() {}

    private SpringCloudAcceleratorArgs(SpringCloudAcceleratorArgs $) {
        this.name = $.name;
        this.springCloudServiceId = $.springCloudServiceId;
    }

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

    public static final class Builder {
        private SpringCloudAcceleratorArgs $;

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

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

        /**
         * @param name The name which should be used for this Spring Cloud Accelerator. Changing this forces a new Spring Cloud Accelerator to be created. The only possible value is `default`.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Spring Cloud Accelerator. Changing this forces a new Spring Cloud Accelerator to be created. The only possible value is `default`.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param springCloudServiceId The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Accelerator to be created.
         * 
         * @return builder
         * 
         */
        public Builder springCloudServiceId(Output springCloudServiceId) {
            $.springCloudServiceId = springCloudServiceId;
            return this;
        }

        /**
         * @param springCloudServiceId The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Accelerator to be created.
         * 
         * @return builder
         * 
         */
        public Builder springCloudServiceId(String springCloudServiceId) {
            return springCloudServiceId(Output.of(springCloudServiceId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy