Class ElasticClusterArgs.Builder

  • Enclosing class:
    ElasticClusterArgs

    public static final class ElasticClusterArgs.Builder
    extends java.lang.Object
    • Method Detail

      • adminUserName

        public ElasticClusterArgs.Builder adminUserName​(com.pulumi.core.Output<java.lang.String> adminUserName)
        Parameters:
        adminUserName - Name of the Elastic DocumentDB cluster administrator
        Returns:
        builder
      • adminUserName

        public ElasticClusterArgs.Builder adminUserName​(java.lang.String adminUserName)
        Parameters:
        adminUserName - Name of the Elastic DocumentDB cluster administrator
        Returns:
        builder
      • adminUserPassword

        public ElasticClusterArgs.Builder adminUserPassword​(com.pulumi.core.Output<java.lang.String> adminUserPassword)
        Parameters:
        adminUserPassword - Password for the Elastic DocumentDB cluster administrator. Can contain any printable ASCII characters. Must be at least 8 characters
        Returns:
        builder
      • adminUserPassword

        public ElasticClusterArgs.Builder adminUserPassword​(java.lang.String adminUserPassword)
        Parameters:
        adminUserPassword - Password for the Elastic DocumentDB cluster administrator. Can contain any printable ASCII characters. Must be at least 8 characters
        Returns:
        builder
      • authType

        public ElasticClusterArgs.Builder authType​(com.pulumi.core.Output<java.lang.String> authType)
        Parameters:
        authType - Authentication type for the Elastic DocumentDB cluster. Valid values are `PLAIN_TEXT` and `SECRET_ARN`
        Returns:
        builder
      • authType

        public ElasticClusterArgs.Builder authType​(java.lang.String authType)
        Parameters:
        authType - Authentication type for the Elastic DocumentDB cluster. Valid values are `PLAIN_TEXT` and `SECRET_ARN`
        Returns:
        builder
      • backupRetentionPeriod

        public ElasticClusterArgs.Builder backupRetentionPeriod​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> backupRetentionPeriod)
        Parameters:
        backupRetentionPeriod - The number of days for which automatic snapshots are retained. It should be in between 1 and 35. If not specified, the default value of 1 is set.
        Returns:
        builder
      • backupRetentionPeriod

        public ElasticClusterArgs.Builder backupRetentionPeriod​(java.lang.Integer backupRetentionPeriod)
        Parameters:
        backupRetentionPeriod - The number of days for which automatic snapshots are retained. It should be in between 1 and 35. If not specified, the default value of 1 is set.
        Returns:
        builder
      • kmsKeyId

        public ElasticClusterArgs.Builder kmsKeyId​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - ARN of a KMS key that is used to encrypt the Elastic DocumentDB cluster. If not specified, the default encryption key that KMS creates for your account is used.
        Returns:
        builder
      • kmsKeyId

        public ElasticClusterArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - ARN of a KMS key that is used to encrypt the Elastic DocumentDB cluster. If not specified, the default encryption key that KMS creates for your account is used.
        Returns:
        builder
      • name

        public ElasticClusterArgs.Builder name​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the Elastic DocumentDB cluster
        Returns:
        builder
      • name

        public ElasticClusterArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the Elastic DocumentDB cluster
        Returns:
        builder
      • preferredBackupWindow

        public ElasticClusterArgs.Builder preferredBackupWindow​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> preferredBackupWindow)
        Parameters:
        preferredBackupWindow - The daily time range during which automated backups are created if automated backups are enabled, as determined by the `backupRetentionPeriod`.
        Returns:
        builder
      • preferredBackupWindow

        public ElasticClusterArgs.Builder preferredBackupWindow​(java.lang.String preferredBackupWindow)
        Parameters:
        preferredBackupWindow - The daily time range during which automated backups are created if automated backups are enabled, as determined by the `backupRetentionPeriod`.
        Returns:
        builder
      • preferredMaintenanceWindow

        public ElasticClusterArgs.Builder preferredMaintenanceWindow​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - Weekly time range during which system maintenance can occur in UTC. Format: `ddd:hh24:mi-ddd:hh24:mi`. If not specified, AWS will choose a random 30-minute window on a random day of the week.
        Returns:
        builder
      • preferredMaintenanceWindow

        public ElasticClusterArgs.Builder preferredMaintenanceWindow​(java.lang.String preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - Weekly time range during which system maintenance can occur in UTC. Format: `ddd:hh24:mi-ddd:hh24:mi`. If not specified, AWS will choose a random 30-minute window on a random day of the week.
        Returns:
        builder
      • region

        public ElasticClusterArgs.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 ElasticClusterArgs.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
      • shardCapacity

        public ElasticClusterArgs.Builder shardCapacity​(com.pulumi.core.Output<java.lang.Integer> shardCapacity)
        Parameters:
        shardCapacity - Number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64
        Returns:
        builder
      • shardCapacity

        public ElasticClusterArgs.Builder shardCapacity​(java.lang.Integer shardCapacity)
        Parameters:
        shardCapacity - Number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64
        Returns:
        builder
      • shardCount

        public ElasticClusterArgs.Builder shardCount​(com.pulumi.core.Output<java.lang.Integer> shardCount)
        Parameters:
        shardCount - Number of shards assigned to the elastic cluster. Maximum is 32 The following arguments are optional:
        Returns:
        builder
      • shardCount

        public ElasticClusterArgs.Builder shardCount​(java.lang.Integer shardCount)
        Parameters:
        shardCount - Number of shards assigned to the elastic cluster. Maximum is 32 The following arguments are optional:
        Returns:
        builder
      • shardInstanceCount

        public ElasticClusterArgs.Builder shardInstanceCount​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> shardInstanceCount)
        Parameters:
        shardInstanceCount - Number of replica instances applying to all shards in the elastic cluster. If not specified, the default value of 2 is set.
        Returns:
        builder
      • shardInstanceCount

        public ElasticClusterArgs.Builder shardInstanceCount​(java.lang.Integer shardInstanceCount)
        Parameters:
        shardInstanceCount - Number of replica instances applying to all shards in the elastic cluster. If not specified, the default value of 2 is set.
        Returns:
        builder
      • subnetIds

        public ElasticClusterArgs.Builder subnetIds​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - IDs of subnets in which the Elastic DocumentDB Cluster operates.
        Returns:
        builder
      • subnetIds

        public ElasticClusterArgs.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - IDs of subnets in which the Elastic DocumentDB Cluster operates.
        Returns:
        builder
      • subnetIds

        public ElasticClusterArgs.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - IDs of subnets in which the Elastic DocumentDB Cluster operates.
        Returns:
        builder
      • tags

        public ElasticClusterArgs.Builder tags​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the collection. 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 ElasticClusterArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the collection. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • vpcSecurityGroupIds

        public ElasticClusterArgs.Builder vpcSecurityGroupIds​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to associate with the Elastic DocumentDB Cluster For more detailed documentation about each argument, refer to the [AWS official documentation](https://docs.aws.amazon.com/cli/latest/reference/docdb-elastic/create-cluster.html).
        Returns:
        builder
      • vpcSecurityGroupIds

        public ElasticClusterArgs.Builder vpcSecurityGroupIds​(java.util.List<java.lang.String> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to associate with the Elastic DocumentDB Cluster For more detailed documentation about each argument, refer to the [AWS official documentation](https://docs.aws.amazon.com/cli/latest/reference/docdb-elastic/create-cluster.html).
        Returns:
        builder
      • vpcSecurityGroupIds

        public ElasticClusterArgs.Builder vpcSecurityGroupIds​(java.lang.String... vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to associate with the Elastic DocumentDB Cluster For more detailed documentation about each argument, refer to the [AWS official documentation](https://docs.aws.amazon.com/cli/latest/reference/docdb-elastic/create-cluster.html).
        Returns:
        builder