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
      • 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
      • 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
      • 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
      • 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 `default_tags` 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 `default_tags` 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
        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
        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
        Returns:
        builder