Class ClusterState.Builder

  • Enclosing class:
    ClusterState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ClusterState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the DAX cluster
        Returns:
        builder
      • arn

        public ClusterState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the DAX cluster
        Returns:
        builder
      • availabilityZones

        public ClusterState.Builder availabilityZones​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> availabilityZones)
        Parameters:
        availabilityZones - List of Availability Zones in which the nodes will be created
        Returns:
        builder
      • availabilityZones

        public ClusterState.Builder availabilityZones​(java.util.List<java.lang.String> availabilityZones)
        Parameters:
        availabilityZones - List of Availability Zones in which the nodes will be created
        Returns:
        builder
      • availabilityZones

        public ClusterState.Builder availabilityZones​(java.lang.String... availabilityZones)
        Parameters:
        availabilityZones - List of Availability Zones in which the nodes will be created
        Returns:
        builder
      • clusterAddress

        public ClusterState.Builder clusterAddress​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> clusterAddress)
        Parameters:
        clusterAddress - The DNS name of the DAX cluster without the port appended
        Returns:
        builder
      • clusterAddress

        public ClusterState.Builder clusterAddress​(java.lang.String clusterAddress)
        Parameters:
        clusterAddress - The DNS name of the DAX cluster without the port appended
        Returns:
        builder
      • clusterEndpointEncryptionType

        public ClusterState.Builder clusterEndpointEncryptionType​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> clusterEndpointEncryptionType)
        Parameters:
        clusterEndpointEncryptionType - The type of encryption the cluster's endpoint should support. Valid values are: `NONE` and `TLS`. Default value is `NONE`.
        Returns:
        builder
      • clusterEndpointEncryptionType

        public ClusterState.Builder clusterEndpointEncryptionType​(java.lang.String clusterEndpointEncryptionType)
        Parameters:
        clusterEndpointEncryptionType - The type of encryption the cluster's endpoint should support. Valid values are: `NONE` and `TLS`. Default value is `NONE`.
        Returns:
        builder
      • clusterName

        public ClusterState.Builder clusterName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> clusterName)
        Parameters:
        clusterName - Group identifier. DAX converts this name to lowercase
        Returns:
        builder
      • clusterName

        public ClusterState.Builder clusterName​(java.lang.String clusterName)
        Parameters:
        clusterName - Group identifier. DAX converts this name to lowercase
        Returns:
        builder
      • configurationEndpoint

        public ClusterState.Builder configurationEndpoint​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> configurationEndpoint)
        Parameters:
        configurationEndpoint - The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number
        Returns:
        builder
      • configurationEndpoint

        public ClusterState.Builder configurationEndpoint​(java.lang.String configurationEndpoint)
        Parameters:
        configurationEndpoint - The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number
        Returns:
        builder
      • description

        public ClusterState.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description for the cluster
        Returns:
        builder
      • description

        public ClusterState.Builder description​(java.lang.String description)
        Parameters:
        description - Description for the cluster
        Returns:
        builder
      • iamRoleArn

        public ClusterState.Builder iamRoleArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> iamRoleArn)
        Parameters:
        iamRoleArn - A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf
        Returns:
        builder
      • iamRoleArn

        public ClusterState.Builder iamRoleArn​(java.lang.String iamRoleArn)
        Parameters:
        iamRoleArn - A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf
        Returns:
        builder
      • maintenanceWindow

        public ClusterState.Builder maintenanceWindow​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> maintenanceWindow)
        Parameters:
        maintenanceWindow - Specifies the weekly time range for when maintenance on the cluster is performed. The format is `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:05:00-sun:09:00`
        Returns:
        builder
      • maintenanceWindow

        public ClusterState.Builder maintenanceWindow​(java.lang.String maintenanceWindow)
        Parameters:
        maintenanceWindow - Specifies the weekly time range for when maintenance on the cluster is performed. The format is `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:05:00-sun:09:00`
        Returns:
        builder
      • nodeType

        public ClusterState.Builder nodeType​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> nodeType)
        Parameters:
        nodeType - The compute and memory capacity of the nodes. See [Nodes](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.concepts.cluster.html#DAX.concepts.nodes) for supported node types
        Returns:
        builder
      • nodeType

        public ClusterState.Builder nodeType​(java.lang.String nodeType)
        Parameters:
        nodeType - The compute and memory capacity of the nodes. See [Nodes](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.concepts.cluster.html#DAX.concepts.nodes) for supported node types
        Returns:
        builder
      • nodes

        public ClusterState.Builder nodes​(@Nullable
                                          com.pulumi.core.Output<java.util.List<ClusterNodeArgs>> nodes)
        Parameters:
        nodes - List of node objects including `id`, `address`, `port` and `availability_zone`. Referenceable e.g., as `${aws_dax_cluster.test.nodes.0.address}`
        Returns:
        builder
      • nodes

        public ClusterState.Builder nodes​(java.util.List<ClusterNodeArgs> nodes)
        Parameters:
        nodes - List of node objects including `id`, `address`, `port` and `availability_zone`. Referenceable e.g., as `${aws_dax_cluster.test.nodes.0.address}`
        Returns:
        builder
      • nodes

        public ClusterState.Builder nodes​(ClusterNodeArgs... nodes)
        Parameters:
        nodes - List of node objects including `id`, `address`, `port` and `availability_zone`. Referenceable e.g., as `${aws_dax_cluster.test.nodes.0.address}`
        Returns:
        builder
      • notificationTopicArn

        public ClusterState.Builder notificationTopicArn​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> notificationTopicArn)
        Parameters:
        notificationTopicArn - An Amazon Resource Name (ARN) of an SNS topic to send DAX notifications to. Example: `arn:aws:sns:us-east-1:012345678999:my_sns_topic`
        Returns:
        builder
      • notificationTopicArn

        public ClusterState.Builder notificationTopicArn​(java.lang.String notificationTopicArn)
        Parameters:
        notificationTopicArn - An Amazon Resource Name (ARN) of an SNS topic to send DAX notifications to. Example: `arn:aws:sns:us-east-1:012345678999:my_sns_topic`
        Returns:
        builder
      • parameterGroupName

        public ClusterState.Builder parameterGroupName​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> parameterGroupName)
        Parameters:
        parameterGroupName - Name of the parameter group to associate with this DAX cluster
        Returns:
        builder
      • parameterGroupName

        public ClusterState.Builder parameterGroupName​(java.lang.String parameterGroupName)
        Parameters:
        parameterGroupName - Name of the parameter group to associate with this DAX cluster
        Returns:
        builder
      • port

        public ClusterState.Builder port​(@Nullable
                                         com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - The port used by the configuration endpoint
        Returns:
        builder
      • port

        public ClusterState.Builder port​(java.lang.Integer port)
        Parameters:
        port - The port used by the configuration endpoint
        Returns:
        builder
      • replicationFactor

        public ClusterState.Builder replicationFactor​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> replicationFactor)
        Parameters:
        replicationFactor - The number of nodes in the DAX cluster. A replication factor of 1 will create a single-node cluster, without any read replicas
        Returns:
        builder
      • replicationFactor

        public ClusterState.Builder replicationFactor​(java.lang.Integer replicationFactor)
        Parameters:
        replicationFactor - The number of nodes in the DAX cluster. A replication factor of 1 will create a single-node cluster, without any read replicas
        Returns:
        builder
      • securityGroupIds

        public ClusterState.Builder securityGroupIds​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
        Parameters:
        securityGroupIds - One or more VPC security groups associated with the cluster
        Returns:
        builder
      • securityGroupIds

        public ClusterState.Builder securityGroupIds​(java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - One or more VPC security groups associated with the cluster
        Returns:
        builder
      • securityGroupIds

        public ClusterState.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - One or more VPC security groups associated with the cluster
        Returns:
        builder
      • subnetGroupName

        public ClusterState.Builder subnetGroupName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> subnetGroupName)
        Parameters:
        subnetGroupName - Name of the subnet group to be used for the cluster
        Returns:
        builder
      • subnetGroupName

        public ClusterState.Builder subnetGroupName​(java.lang.String subnetGroupName)
        Parameters:
        subnetGroupName - Name of the subnet group to be used for the cluster
        Returns:
        builder
      • tags

        public ClusterState.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 resource. .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 ClusterState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

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

        @Deprecated
        public ClusterState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder