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

com.pulumi.azure.appplatform.inputs.SpringCloudAppCosmosDBAssociationState 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SpringCloudAppCosmosDBAssociationState Empty = new SpringCloudAppCosmosDBAssociationState();

    /**
     * Specifies the API type which should be used when connecting to the CosmosDB Account. Possible values are `cassandra`, `gremlin`, `mongo`, `sql` or `table`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="apiType")
    private @Nullable Output apiType;

    /**
     * @return Specifies the API type which should be used when connecting to the CosmosDB Account. Possible values are `cassandra`, `gremlin`, `mongo`, `sql` or `table`. Changing this forces a new resource to be created.
     * 
     */
    public Optional> apiType() {
        return Optional.ofNullable(this.apiType);
    }

    /**
     * Specifies the CosmosDB Account access key.
     * 
     */
    @Import(name="cosmosdbAccessKey")
    private @Nullable Output cosmosdbAccessKey;

    /**
     * @return Specifies the CosmosDB Account access key.
     * 
     */
    public Optional> cosmosdbAccessKey() {
        return Optional.ofNullable(this.cosmosdbAccessKey);
    }

    /**
     * Specifies the ID of the CosmosDB Account. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="cosmosdbAccountId")
    private @Nullable Output cosmosdbAccountId;

    /**
     * @return Specifies the ID of the CosmosDB Account. Changing this forces a new resource to be created.
     * 
     */
    public Optional> cosmosdbAccountId() {
        return Optional.ofNullable(this.cosmosdbAccountId);
    }

    /**
     * Specifies the name of the Cassandra Keyspace which the Spring Cloud App should be associated with. Should only be set when `api_type` is `cassandra`.
     * 
     */
    @Import(name="cosmosdbCassandraKeyspaceName")
    private @Nullable Output cosmosdbCassandraKeyspaceName;

    /**
     * @return Specifies the name of the Cassandra Keyspace which the Spring Cloud App should be associated with. Should only be set when `api_type` is `cassandra`.
     * 
     */
    public Optional> cosmosdbCassandraKeyspaceName() {
        return Optional.ofNullable(this.cosmosdbCassandraKeyspaceName);
    }

    /**
     * Specifies the name of the Gremlin Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `gremlin`.
     * 
     */
    @Import(name="cosmosdbGremlinDatabaseName")
    private @Nullable Output cosmosdbGremlinDatabaseName;

    /**
     * @return Specifies the name of the Gremlin Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `gremlin`.
     * 
     */
    public Optional> cosmosdbGremlinDatabaseName() {
        return Optional.ofNullable(this.cosmosdbGremlinDatabaseName);
    }

    /**
     * Specifies the name of the Gremlin Graph which the Spring Cloud App should be associated with. Should only be set when `api_type` is `gremlin`.
     * 
     */
    @Import(name="cosmosdbGremlinGraphName")
    private @Nullable Output cosmosdbGremlinGraphName;

    /**
     * @return Specifies the name of the Gremlin Graph which the Spring Cloud App should be associated with. Should only be set when `api_type` is `gremlin`.
     * 
     */
    public Optional> cosmosdbGremlinGraphName() {
        return Optional.ofNullable(this.cosmosdbGremlinGraphName);
    }

    /**
     * Specifies the name of the Mongo Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `mongo`.
     * 
     */
    @Import(name="cosmosdbMongoDatabaseName")
    private @Nullable Output cosmosdbMongoDatabaseName;

    /**
     * @return Specifies the name of the Mongo Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `mongo`.
     * 
     */
    public Optional> cosmosdbMongoDatabaseName() {
        return Optional.ofNullable(this.cosmosdbMongoDatabaseName);
    }

    /**
     * Specifies the name of the SQL Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `sql`.
     * 
     */
    @Import(name="cosmosdbSqlDatabaseName")
    private @Nullable Output cosmosdbSqlDatabaseName;

    /**
     * @return Specifies the name of the SQL Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `sql`.
     * 
     */
    public Optional> cosmosdbSqlDatabaseName() {
        return Optional.ofNullable(this.cosmosdbSqlDatabaseName);
    }

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

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

    /**
     * Specifies the ID of the Spring Cloud Application where this Association is created. 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 where this Association is created. Changing this forces a new resource to be created.
     * 
     */
    public Optional> springCloudAppId() {
        return Optional.ofNullable(this.springCloudAppId);
    }

    private SpringCloudAppCosmosDBAssociationState() {}

    private SpringCloudAppCosmosDBAssociationState(SpringCloudAppCosmosDBAssociationState $) {
        this.apiType = $.apiType;
        this.cosmosdbAccessKey = $.cosmosdbAccessKey;
        this.cosmosdbAccountId = $.cosmosdbAccountId;
        this.cosmosdbCassandraKeyspaceName = $.cosmosdbCassandraKeyspaceName;
        this.cosmosdbGremlinDatabaseName = $.cosmosdbGremlinDatabaseName;
        this.cosmosdbGremlinGraphName = $.cosmosdbGremlinGraphName;
        this.cosmosdbMongoDatabaseName = $.cosmosdbMongoDatabaseName;
        this.cosmosdbSqlDatabaseName = $.cosmosdbSqlDatabaseName;
        this.name = $.name;
        this.springCloudAppId = $.springCloudAppId;
    }

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

    public static final class Builder {
        private SpringCloudAppCosmosDBAssociationState $;

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

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

        /**
         * @param apiType Specifies the API type which should be used when connecting to the CosmosDB Account. Possible values are `cassandra`, `gremlin`, `mongo`, `sql` or `table`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder apiType(@Nullable Output apiType) {
            $.apiType = apiType;
            return this;
        }

        /**
         * @param apiType Specifies the API type which should be used when connecting to the CosmosDB Account. Possible values are `cassandra`, `gremlin`, `mongo`, `sql` or `table`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder apiType(String apiType) {
            return apiType(Output.of(apiType));
        }

        /**
         * @param cosmosdbAccessKey Specifies the CosmosDB Account access key.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbAccessKey(@Nullable Output cosmosdbAccessKey) {
            $.cosmosdbAccessKey = cosmosdbAccessKey;
            return this;
        }

        /**
         * @param cosmosdbAccessKey Specifies the CosmosDB Account access key.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbAccessKey(String cosmosdbAccessKey) {
            return cosmosdbAccessKey(Output.of(cosmosdbAccessKey));
        }

        /**
         * @param cosmosdbAccountId Specifies the ID of the CosmosDB Account. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbAccountId(@Nullable Output cosmosdbAccountId) {
            $.cosmosdbAccountId = cosmosdbAccountId;
            return this;
        }

        /**
         * @param cosmosdbAccountId Specifies the ID of the CosmosDB Account. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbAccountId(String cosmosdbAccountId) {
            return cosmosdbAccountId(Output.of(cosmosdbAccountId));
        }

        /**
         * @param cosmosdbCassandraKeyspaceName Specifies the name of the Cassandra Keyspace which the Spring Cloud App should be associated with. Should only be set when `api_type` is `cassandra`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbCassandraKeyspaceName(@Nullable Output cosmosdbCassandraKeyspaceName) {
            $.cosmosdbCassandraKeyspaceName = cosmosdbCassandraKeyspaceName;
            return this;
        }

        /**
         * @param cosmosdbCassandraKeyspaceName Specifies the name of the Cassandra Keyspace which the Spring Cloud App should be associated with. Should only be set when `api_type` is `cassandra`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbCassandraKeyspaceName(String cosmosdbCassandraKeyspaceName) {
            return cosmosdbCassandraKeyspaceName(Output.of(cosmosdbCassandraKeyspaceName));
        }

        /**
         * @param cosmosdbGremlinDatabaseName Specifies the name of the Gremlin Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `gremlin`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbGremlinDatabaseName(@Nullable Output cosmosdbGremlinDatabaseName) {
            $.cosmosdbGremlinDatabaseName = cosmosdbGremlinDatabaseName;
            return this;
        }

        /**
         * @param cosmosdbGremlinDatabaseName Specifies the name of the Gremlin Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `gremlin`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbGremlinDatabaseName(String cosmosdbGremlinDatabaseName) {
            return cosmosdbGremlinDatabaseName(Output.of(cosmosdbGremlinDatabaseName));
        }

        /**
         * @param cosmosdbGremlinGraphName Specifies the name of the Gremlin Graph which the Spring Cloud App should be associated with. Should only be set when `api_type` is `gremlin`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbGremlinGraphName(@Nullable Output cosmosdbGremlinGraphName) {
            $.cosmosdbGremlinGraphName = cosmosdbGremlinGraphName;
            return this;
        }

        /**
         * @param cosmosdbGremlinGraphName Specifies the name of the Gremlin Graph which the Spring Cloud App should be associated with. Should only be set when `api_type` is `gremlin`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbGremlinGraphName(String cosmosdbGremlinGraphName) {
            return cosmosdbGremlinGraphName(Output.of(cosmosdbGremlinGraphName));
        }

        /**
         * @param cosmosdbMongoDatabaseName Specifies the name of the Mongo Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `mongo`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbMongoDatabaseName(@Nullable Output cosmosdbMongoDatabaseName) {
            $.cosmosdbMongoDatabaseName = cosmosdbMongoDatabaseName;
            return this;
        }

        /**
         * @param cosmosdbMongoDatabaseName Specifies the name of the Mongo Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `mongo`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbMongoDatabaseName(String cosmosdbMongoDatabaseName) {
            return cosmosdbMongoDatabaseName(Output.of(cosmosdbMongoDatabaseName));
        }

        /**
         * @param cosmosdbSqlDatabaseName Specifies the name of the SQL Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `sql`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbSqlDatabaseName(@Nullable Output cosmosdbSqlDatabaseName) {
            $.cosmosdbSqlDatabaseName = cosmosdbSqlDatabaseName;
            return this;
        }

        /**
         * @param cosmosdbSqlDatabaseName Specifies the name of the SQL Database which the Spring Cloud App should be associated with. Should only be set when `api_type` is `sql`.
         * 
         * @return builder
         * 
         */
        public Builder cosmosdbSqlDatabaseName(String cosmosdbSqlDatabaseName) {
            return cosmosdbSqlDatabaseName(Output.of(cosmosdbSqlDatabaseName));
        }

        /**
         * @param name Specifies the name of the Spring Cloud Application Association. 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 Application Association. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param springCloudAppId Specifies the ID of the Spring Cloud Application where this Association is created. 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 where this Association is created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder springCloudAppId(String springCloudAppId) {
            return springCloudAppId(Output.of(springCloudAppId));
        }

        public SpringCloudAppCosmosDBAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy