Class ElasticacheClusterConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • clusterId

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder clusterId​(String clusterId)
        Parameters:
        clusterId - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#cluster_id ElasticacheCluster#cluster_id}. This parameter is required.
        Returns:
        this
      • applyImmediately

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder applyImmediately​(com.hashicorp.cdktf.IResolvable applyImmediately)
        Parameters:
        applyImmediately - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#apply_immediately ElasticacheCluster#apply_immediately}.
        Returns:
        this
      • autoMinorVersionUpgrade

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder autoMinorVersionUpgrade​(String autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#auto_minor_version_upgrade ElasticacheCluster#auto_minor_version_upgrade}.
        Returns:
        this
      • availabilityZone

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder availabilityZone​(String availabilityZone)
        Parameters:
        availabilityZone - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#availability_zone ElasticacheCluster#availability_zone}.
        Returns:
        this
      • finalSnapshotIdentifier

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder finalSnapshotIdentifier​(String finalSnapshotIdentifier)
        Parameters:
        finalSnapshotIdentifier - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#final_snapshot_identifier ElasticacheCluster#final_snapshot_identifier}.
        Returns:
        this
      • id

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#id ElasticacheCluster#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
        Returns:
        this
      • logDeliveryConfiguration

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder logDeliveryConfiguration​(com.hashicorp.cdktf.IResolvable logDeliveryConfiguration)
        Parameters:
        logDeliveryConfiguration - log_delivery_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#log_delivery_configuration ElasticacheCluster#log_delivery_configuration}
        Returns:
        this
      • maintenanceWindow

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder maintenanceWindow​(String maintenanceWindow)
        Parameters:
        maintenanceWindow - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#maintenance_window ElasticacheCluster#maintenance_window}.
        Returns:
        this
      • notificationTopicArn

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder notificationTopicArn​(String notificationTopicArn)
        Parameters:
        notificationTopicArn - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#notification_topic_arn ElasticacheCluster#notification_topic_arn}.
        Returns:
        this
      • parameterGroupName

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder parameterGroupName​(String parameterGroupName)
        Parameters:
        parameterGroupName - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#parameter_group_name ElasticacheCluster#parameter_group_name}.
        Returns:
        this
      • preferredAvailabilityZones

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder preferredAvailabilityZones​(List<String> preferredAvailabilityZones)
        Parameters:
        preferredAvailabilityZones - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#preferred_availability_zones ElasticacheCluster#preferred_availability_zones}.
        Returns:
        this
      • preferredOutpostArn

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder preferredOutpostArn​(String preferredOutpostArn)
        Parameters:
        preferredOutpostArn - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#preferred_outpost_arn ElasticacheCluster#preferred_outpost_arn}.
        Returns:
        this
      • replicationGroupId

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder replicationGroupId​(String replicationGroupId)
        Parameters:
        replicationGroupId - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#replication_group_id ElasticacheCluster#replication_group_id}.
        Returns:
        this
      • snapshotRetentionLimit

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder snapshotRetentionLimit​(Number snapshotRetentionLimit)
        Parameters:
        snapshotRetentionLimit - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#snapshot_retention_limit ElasticacheCluster#snapshot_retention_limit}.
        Returns:
        this
      • subnetGroupName

        @Stability(Stable)
        public ElasticacheClusterConfig.Builder subnetGroupName​(String subnetGroupName)
        Parameters:
        subnetGroupName - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticache_cluster#subnet_group_name ElasticacheCluster#subnet_group_name}.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ElasticacheClusterConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ElasticacheClusterConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public ElasticacheClusterConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public ElasticacheClusterConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public ElasticacheClusterConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public ElasticacheClusterConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public ElasticacheClusterConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public ElasticacheClusterConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public ElasticacheClusterConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this