Class ClusterCacheNodeArgs.Builder

  • Enclosing class:
    ClusterCacheNodeArgs

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

      • availabilityZone

        public ClusterCacheNodeArgs.Builder availabilityZone​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - Availability Zone for the cache cluster. If you want to create cache nodes in multi-az, use `preferred_availability_zones` instead. Default: System chosen Availability Zone. Changing this value will re-create the resource.
        Returns:
        builder
      • availabilityZone

        public ClusterCacheNodeArgs.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - Availability Zone for the cache cluster. If you want to create cache nodes in multi-az, use `preferred_availability_zones` instead. Default: System chosen Availability Zone. Changing this value will re-create the resource.
        Returns:
        builder
      • port

        public ClusterCacheNodeArgs.Builder port​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - The port number on which each of the cache nodes will accept connections. For Memcached the default is 11211, and for Redis the default port is 6379. Cannot be provided with `replication_group_id`. Changing this value will re-create the resource.
        Returns:
        builder
      • port

        public ClusterCacheNodeArgs.Builder port​(java.lang.Integer port)
        Parameters:
        port - The port number on which each of the cache nodes will accept connections. For Memcached the default is 11211, and for Redis the default port is 6379. Cannot be provided with `replication_group_id`. Changing this value will re-create the resource.
        Returns:
        builder