Class DbInstanceState.Builder

  • Enclosing class:
    DbInstanceState

    public static final class DbInstanceState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • allocatedStorage

        public DbInstanceState.Builder allocatedStorage​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> allocatedStorage)
        Parameters:
        allocatedStorage - Amount of storage in GiB (gibibytes). The minimum value is `20`, the maximum value is `16384`. This argument is updatable. The argument `dbStorageType` places restrictions on this argument's minimum value. The following is a list of `dbStorageType` values and the corresponding minimum value for `allocatedStorage`: ` "InfluxIOIncludedT1": `20` , `"InfluxIOIncludedT2" and ` "InfluxIOIncludedT3": `400`.
        Returns:
        builder
      • allocatedStorage

        public DbInstanceState.Builder allocatedStorage​(java.lang.Integer allocatedStorage)
        Parameters:
        allocatedStorage - Amount of storage in GiB (gibibytes). The minimum value is `20`, the maximum value is `16384`. This argument is updatable. The argument `dbStorageType` places restrictions on this argument's minimum value. The following is a list of `dbStorageType` values and the corresponding minimum value for `allocatedStorage`: ` "InfluxIOIncludedT1": `20` , `"InfluxIOIncludedT2" and ` "InfluxIOIncludedT3": `400`.
        Returns:
        builder
      • arn

        public DbInstanceState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Timestream for InfluxDB Instance.
        Returns:
        builder
      • arn

        public DbInstanceState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the Timestream for InfluxDB Instance.
        Returns:
        builder
      • availabilityZone

        public DbInstanceState.Builder availabilityZone​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - Availability Zone in which the DB instance resides.
        Returns:
        builder
      • availabilityZone

        public DbInstanceState.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - Availability Zone in which the DB instance resides.
        Returns:
        builder
      • bucket

        public DbInstanceState.Builder bucket​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> bucket)
        Parameters:
        bucket - Name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization. Along with `organization`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
        Returns:
        builder
      • bucket

        public DbInstanceState.Builder bucket​(java.lang.String bucket)
        Parameters:
        bucket - Name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization. Along with `organization`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
        Returns:
        builder
      • dbInstanceType

        public DbInstanceState.Builder dbInstanceType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> dbInstanceType)
        Parameters:
        dbInstanceType - Timestream for InfluxDB DB instance type to run InfluxDB on. Valid options are: `"db.influx.medium"`, `"db.influx.large"`, `"db.influx.xlarge"`, `"db.influx.2xlarge"`, `"db.influx.4xlarge"`, `"db.influx.8xlarge"`, `"db.influx.12xlarge"`, and `"db.influx.16xlarge"`. This argument is updatable.
        Returns:
        builder
      • dbInstanceType

        public DbInstanceState.Builder dbInstanceType​(java.lang.String dbInstanceType)
        Parameters:
        dbInstanceType - Timestream for InfluxDB DB instance type to run InfluxDB on. Valid options are: `"db.influx.medium"`, `"db.influx.large"`, `"db.influx.xlarge"`, `"db.influx.2xlarge"`, `"db.influx.4xlarge"`, `"db.influx.8xlarge"`, `"db.influx.12xlarge"`, and `"db.influx.16xlarge"`. This argument is updatable.
        Returns:
        builder
      • dbParameterGroupIdentifier

        public DbInstanceState.Builder dbParameterGroupIdentifier​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> dbParameterGroupIdentifier)
        Parameters:
        dbParameterGroupIdentifier - ID of the DB parameter group assigned to your DB instance. This argument is updatable. If added to an existing Timestream for InfluxDB instance or given a new value, will cause an in-place update to the instance. However, if an instance already has a value for `dbParameterGroupIdentifier`, removing `dbParameterGroupIdentifier` will cause the instance to be destroyed and recreated.
        Returns:
        builder
      • dbParameterGroupIdentifier

        public DbInstanceState.Builder dbParameterGroupIdentifier​(java.lang.String dbParameterGroupIdentifier)
        Parameters:
        dbParameterGroupIdentifier - ID of the DB parameter group assigned to your DB instance. This argument is updatable. If added to an existing Timestream for InfluxDB instance or given a new value, will cause an in-place update to the instance. However, if an instance already has a value for `dbParameterGroupIdentifier`, removing `dbParameterGroupIdentifier` will cause the instance to be destroyed and recreated.
        Returns:
        builder
      • dbStorageType

        public DbInstanceState.Builder dbStorageType​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> dbStorageType)
        Parameters:
        dbStorageType - Timestream for InfluxDB DB storage type to read and write InfluxDB data. You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements: Influx IO Included 3000 IOPS, Influx IO Included 12000 IOPS, Influx IO Included 16000 IOPS. Valid options are: `"InfluxIOIncludedT1"`, `"InfluxIOIncludedT2"`, and `"InfluxIOIncludedT3"`. If you use ` "InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for `allocatedStorage` is 400. This argument is updatable. For a single instance, after this argument has been updated once, it can only be updated again after 6 hours have passed.
        Returns:
        builder
      • dbStorageType

        public DbInstanceState.Builder dbStorageType​(java.lang.String dbStorageType)
        Parameters:
        dbStorageType - Timestream for InfluxDB DB storage type to read and write InfluxDB data. You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements: Influx IO Included 3000 IOPS, Influx IO Included 12000 IOPS, Influx IO Included 16000 IOPS. Valid options are: `"InfluxIOIncludedT1"`, `"InfluxIOIncludedT2"`, and `"InfluxIOIncludedT3"`. If you use ` "InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for `allocatedStorage` is 400. This argument is updatable. For a single instance, after this argument has been updated once, it can only be updated again after 6 hours have passed.
        Returns:
        builder
      • deploymentType

        public DbInstanceState.Builder deploymentType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> deploymentType)
        Parameters:
        deploymentType - Whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability. Valid options are: `"SINGLE_AZ"`, `"WITH_MULTIAZ_STANDBY"`. This argument is updatable.
        Returns:
        builder
      • deploymentType

        public DbInstanceState.Builder deploymentType​(java.lang.String deploymentType)
        Parameters:
        deploymentType - Whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability. Valid options are: `"SINGLE_AZ"`, `"WITH_MULTIAZ_STANDBY"`. This argument is updatable.
        Returns:
        builder
      • endpoint

        public DbInstanceState.Builder endpoint​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> endpoint)
        Parameters:
        endpoint - Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
        Returns:
        builder
      • endpoint

        public DbInstanceState.Builder endpoint​(java.lang.String endpoint)
        Parameters:
        endpoint - Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
        Returns:
        builder
      • influxAuthParametersSecretArn

        public DbInstanceState.Builder influxAuthParametersSecretArn​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> influxAuthParametersSecretArn)
        Parameters:
        influxAuthParametersSecretArn - ARN of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.
        Returns:
        builder
      • influxAuthParametersSecretArn

        public DbInstanceState.Builder influxAuthParametersSecretArn​(java.lang.String influxAuthParametersSecretArn)
        Parameters:
        influxAuthParametersSecretArn - ARN of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.
        Returns:
        builder
      • logDeliveryConfiguration

        public DbInstanceState.Builder logDeliveryConfiguration​(@Nullable
                                                                com.pulumi.core.Output<DbInstanceLogDeliveryConfigurationArgs> logDeliveryConfiguration)
        Parameters:
        logDeliveryConfiguration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
        Returns:
        builder
      • logDeliveryConfiguration

        public DbInstanceState.Builder logDeliveryConfiguration​(DbInstanceLogDeliveryConfigurationArgs logDeliveryConfiguration)
        Parameters:
        logDeliveryConfiguration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
        Returns:
        builder
      • maintenanceSchedule

        public DbInstanceState.Builder maintenanceSchedule​(@Nullable
                                                           com.pulumi.core.Output<DbInstanceMaintenanceScheduleArgs> maintenanceSchedule)
        Parameters:
        maintenanceSchedule - Maintenance schedule for the DB instance, including the preferred maintenance window and timezone. This argument is updatable.
        Returns:
        builder
      • maintenanceSchedule

        public DbInstanceState.Builder maintenanceSchedule​(DbInstanceMaintenanceScheduleArgs maintenanceSchedule)
        Parameters:
        maintenanceSchedule - Maintenance schedule for the DB instance, including the preferred maintenance window and timezone. This argument is updatable.
        Returns:
        builder
      • name

        public DbInstanceState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region. The argument must start with a letter, cannot contain consecutive hyphens (`-`) and cannot end with a hyphen.
        Returns:
        builder
      • name

        public DbInstanceState.Builder name​(java.lang.String name)
        Parameters:
        name - Name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region. The argument must start with a letter, cannot contain consecutive hyphens (`-`) and cannot end with a hyphen.
        Returns:
        builder
      • networkType

        public DbInstanceState.Builder networkType​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> networkType)
        Parameters:
        networkType - Network type of the Timestream for InfluxDB instance. `IPV4` can communicate over IPv4 protocol only, and `DUAL` can communicate over both IPv4 and IPv6 protocols.
        Returns:
        builder
      • networkType

        public DbInstanceState.Builder networkType​(java.lang.String networkType)
        Parameters:
        networkType - Network type of the Timestream for InfluxDB instance. `IPV4` can communicate over IPv4 protocol only, and `DUAL` can communicate over both IPv4 and IPv6 protocols.
        Returns:
        builder
      • organization

        public DbInstanceState.Builder organization​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> organization)
        Parameters:
        organization - Name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users. Along with `bucket`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
        Returns:
        builder
      • organization

        public DbInstanceState.Builder organization​(java.lang.String organization)
        Parameters:
        organization - Name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users. Along with `bucket`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
        Returns:
        builder
      • password

        public DbInstanceState.Builder password​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> password)
        Parameters:
        password - Password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `username`, and `organization`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
        Returns:
        builder
      • password

        public DbInstanceState.Builder password​(java.lang.String password)
        Parameters:
        password - Password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `username`, and `organization`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
        Returns:
        builder
      • port

        public DbInstanceState.Builder port​(@Nullable
                                            com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - Port on which the instance accepts connections. Valid values: `1024`-`65535`. Cannot be `2375`-`2376`, `7788`-`7799`, `8090`, or `51678`-`51680`. This argument is updatable.
        Returns:
        builder
      • port

        public DbInstanceState.Builder port​(java.lang.Integer port)
        Parameters:
        port - Port on which the instance accepts connections. Valid values: `1024`-`65535`. Cannot be `2375`-`2376`, `7788`-`7799`, `8090`, or `51678`-`51680`. This argument is updatable.
        Returns:
        builder
      • publiclyAccessible

        public DbInstanceState.Builder publiclyAccessible​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
        Parameters:
        publiclyAccessible - Whether to configure the DB instance with a public IP to facilitate access. Other resources, such as a VPC, a subnet, an internet gateway, and a route table with routes, are also required to enable public access, in addition to this argument. See "Usage with Public Internet Access Enabled" for an example configuration with all required resources for public internet access.
        Returns:
        builder
      • publiclyAccessible

        public DbInstanceState.Builder publiclyAccessible​(java.lang.Boolean publiclyAccessible)
        Parameters:
        publiclyAccessible - Whether to configure the DB instance with a public IP to facilitate access. Other resources, such as a VPC, a subnet, an internet gateway, and a route table with routes, are also required to enable public access, in addition to this argument. See "Usage with Public Internet Access Enabled" for an example configuration with all required resources for public internet access.
        Returns:
        builder
      • region

        public DbInstanceState.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public DbInstanceState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • secondaryAvailabilityZone

        public DbInstanceState.Builder secondaryAvailabilityZone​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> secondaryAvailabilityZone)
        Parameters:
        secondaryAvailabilityZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
        Returns:
        builder
      • secondaryAvailabilityZone

        public DbInstanceState.Builder secondaryAvailabilityZone​(java.lang.String secondaryAvailabilityZone)
        Parameters:
        secondaryAvailabilityZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
        Returns:
        builder
      • tags

        public DbInstanceState.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public DbInstanceState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public DbInstanceState.Builder tagsAll​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public DbInstanceState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • username

        public DbInstanceState.Builder username​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> username)
        Parameters:
        username - Username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `organization`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
        Returns:
        builder
      • username

        public DbInstanceState.Builder username​(java.lang.String username)
        Parameters:
        username - Username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `organization`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
        Returns:
        builder
      • vpcSecurityGroupIds

        public DbInstanceState.Builder vpcSecurityGroupIds​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security group IDs to associate with the DB instance.
        Returns:
        builder
      • vpcSecurityGroupIds

        public DbInstanceState.Builder vpcSecurityGroupIds​(java.util.List<java.lang.String> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security group IDs to associate with the DB instance.
        Returns:
        builder
      • vpcSecurityGroupIds

        public DbInstanceState.Builder vpcSecurityGroupIds​(java.lang.String... vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security group IDs to associate with the DB instance.
        Returns:
        builder
      • vpcSubnetIds

        public DbInstanceState.Builder vpcSubnetIds​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSubnetIds)
        Parameters:
        vpcSubnetIds - List of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby. The following arguments are optional:
        Returns:
        builder
      • vpcSubnetIds

        public DbInstanceState.Builder vpcSubnetIds​(java.util.List<java.lang.String> vpcSubnetIds)
        Parameters:
        vpcSubnetIds - List of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby. The following arguments are optional:
        Returns:
        builder
      • vpcSubnetIds

        public DbInstanceState.Builder vpcSubnetIds​(java.lang.String... vpcSubnetIds)
        Parameters:
        vpcSubnetIds - List of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby. The following arguments are optional:
        Returns:
        builder