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

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

import com.pulumi.azure.appplatform.inputs.SpringCloudCustomizedAcceleratorGitRepositoryArgs;
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 SpringCloudCustomizedAcceleratorArgs extends com.pulumi.resources.ResourceArgs {

    public static final SpringCloudCustomizedAcceleratorArgs Empty = new SpringCloudCustomizedAcceleratorArgs();

    /**
     * Specifies a list of accelerator tags.
     * 
     */
    @Import(name="acceleratorTags")
    private @Nullable Output> acceleratorTags;

    /**
     * @return Specifies a list of accelerator tags.
     * 
     */
    public Optional>> acceleratorTags() {
        return Optional.ofNullable(this.acceleratorTags);
    }

    /**
     * Specifies the type of the Spring Cloud Customized Accelerator. Possible values are `Accelerator` and `Fragment`. Defaults to `Accelerator`.
     * 
     */
    @Import(name="acceleratorType")
    private @Nullable Output acceleratorType;

    /**
     * @return Specifies the type of the Spring Cloud Customized Accelerator. Possible values are `Accelerator` and `Fragment`. Defaults to `Accelerator`.
     * 
     */
    public Optional> acceleratorType() {
        return Optional.ofNullable(this.acceleratorType);
    }

    /**
     * Specifies the description of the Spring Cloud Customized Accelerator.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Specifies the description of the Spring Cloud Customized Accelerator.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Specifies the display name of the Spring Cloud Customized Accelerator..
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Specifies the display name of the Spring Cloud Customized Accelerator..
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * A `git_repository` block as defined below.
     * 
     */
    @Import(name="gitRepository", required=true)
    private Output gitRepository;

    /**
     * @return A `git_repository` block as defined below.
     * 
     */
    public Output gitRepository() {
        return this.gitRepository;
    }

    /**
     * Specifies the icon URL of the Spring Cloud Customized Accelerator..
     * 
     */
    @Import(name="iconUrl")
    private @Nullable Output iconUrl;

    /**
     * @return Specifies the icon URL of the Spring Cloud Customized Accelerator..
     * 
     */
    public Optional> iconUrl() {
        return Optional.ofNullable(this.iconUrl);
    }

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

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

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

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

    private SpringCloudCustomizedAcceleratorArgs() {}

    private SpringCloudCustomizedAcceleratorArgs(SpringCloudCustomizedAcceleratorArgs $) {
        this.acceleratorTags = $.acceleratorTags;
        this.acceleratorType = $.acceleratorType;
        this.description = $.description;
        this.displayName = $.displayName;
        this.gitRepository = $.gitRepository;
        this.iconUrl = $.iconUrl;
        this.name = $.name;
        this.springCloudAcceleratorId = $.springCloudAcceleratorId;
    }

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

    public static final class Builder {
        private SpringCloudCustomizedAcceleratorArgs $;

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

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

        /**
         * @param acceleratorTags Specifies a list of accelerator tags.
         * 
         * @return builder
         * 
         */
        public Builder acceleratorTags(@Nullable Output> acceleratorTags) {
            $.acceleratorTags = acceleratorTags;
            return this;
        }

        /**
         * @param acceleratorTags Specifies a list of accelerator tags.
         * 
         * @return builder
         * 
         */
        public Builder acceleratorTags(List acceleratorTags) {
            return acceleratorTags(Output.of(acceleratorTags));
        }

        /**
         * @param acceleratorTags Specifies a list of accelerator tags.
         * 
         * @return builder
         * 
         */
        public Builder acceleratorTags(String... acceleratorTags) {
            return acceleratorTags(List.of(acceleratorTags));
        }

        /**
         * @param acceleratorType Specifies the type of the Spring Cloud Customized Accelerator. Possible values are `Accelerator` and `Fragment`. Defaults to `Accelerator`.
         * 
         * @return builder
         * 
         */
        public Builder acceleratorType(@Nullable Output acceleratorType) {
            $.acceleratorType = acceleratorType;
            return this;
        }

        /**
         * @param acceleratorType Specifies the type of the Spring Cloud Customized Accelerator. Possible values are `Accelerator` and `Fragment`. Defaults to `Accelerator`.
         * 
         * @return builder
         * 
         */
        public Builder acceleratorType(String acceleratorType) {
            return acceleratorType(Output.of(acceleratorType));
        }

        /**
         * @param description Specifies the description of the Spring Cloud Customized Accelerator.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Specifies the description of the Spring Cloud Customized Accelerator.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName Specifies the display name of the Spring Cloud Customized Accelerator..
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Specifies the display name of the Spring Cloud Customized Accelerator..
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

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

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

        /**
         * @param iconUrl Specifies the icon URL of the Spring Cloud Customized Accelerator..
         * 
         * @return builder
         * 
         */
        public Builder iconUrl(@Nullable Output iconUrl) {
            $.iconUrl = iconUrl;
            return this;
        }

        /**
         * @param iconUrl Specifies the icon URL of the Spring Cloud Customized Accelerator..
         * 
         * @return builder
         * 
         */
        public Builder iconUrl(String iconUrl) {
            return iconUrl(Output.of(iconUrl));
        }

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

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

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

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

        public SpringCloudCustomizedAcceleratorArgs build() {
            if ($.gitRepository == null) {
                throw new MissingRequiredPropertyException("SpringCloudCustomizedAcceleratorArgs", "gitRepository");
            }
            if ($.springCloudAcceleratorId == null) {
                throw new MissingRequiredPropertyException("SpringCloudCustomizedAcceleratorArgs", "springCloudAcceleratorId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy