Class WorkgroupState.Builder

  • Enclosing class:
    WorkgroupState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public WorkgroupState.Builder arn​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Redshift Serverless Workgroup.
        Returns:
        builder
      • arn

        public WorkgroupState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the Redshift Serverless Workgroup.
        Returns:
        builder
      • baseCapacity

        public WorkgroupState.Builder baseCapacity​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Integer> baseCapacity)
        Parameters:
        baseCapacity - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
        Returns:
        builder
      • baseCapacity

        public WorkgroupState.Builder baseCapacity​(java.lang.Integer baseCapacity)
        Parameters:
        baseCapacity - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
        Returns:
        builder
      • configParameters

        public WorkgroupState.Builder configParameters​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<WorkgroupConfigParameterArgs>> configParameters)
        Parameters:
        configParameters - An array of parameters to set for more control over a serverless database. See `Config Parameter` below.
        Returns:
        builder
      • configParameters

        public WorkgroupState.Builder configParameters​(java.util.List<WorkgroupConfigParameterArgs> configParameters)
        Parameters:
        configParameters - An array of parameters to set for more control over a serverless database. See `Config Parameter` below.
        Returns:
        builder
      • configParameters

        public WorkgroupState.Builder configParameters​(WorkgroupConfigParameterArgs... configParameters)
        Parameters:
        configParameters - An array of parameters to set for more control over a serverless database. See `Config Parameter` below.
        Returns:
        builder
      • endpoints

        public WorkgroupState.Builder endpoints​(@Nullable
                                                com.pulumi.core.Output<java.util.List<WorkgroupEndpointArgs>> endpoints)
        Parameters:
        endpoints - The endpoint that is created from the workgroup. See `Endpoint` below.
        Returns:
        builder
      • endpoints

        public WorkgroupState.Builder endpoints​(java.util.List<WorkgroupEndpointArgs> endpoints)
        Parameters:
        endpoints - The endpoint that is created from the workgroup. See `Endpoint` below.
        Returns:
        builder
      • enhancedVpcRouting

        public WorkgroupState.Builder enhancedVpcRouting​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> enhancedVpcRouting)
        Parameters:
        enhancedVpcRouting - Value that specifies whether to turn on enhanced VPC routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
        Returns:
        builder
      • enhancedVpcRouting

        public WorkgroupState.Builder enhancedVpcRouting​(java.lang.Boolean enhancedVpcRouting)
        Parameters:
        enhancedVpcRouting - Value that specifies whether to turn on enhanced VPC routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
        Returns:
        builder
      • maxCapacity

        public WorkgroupState.Builder maxCapacity​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> maxCapacity)
        Parameters:
        maxCapacity - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
        Returns:
        builder
      • maxCapacity

        public WorkgroupState.Builder maxCapacity​(java.lang.Integer maxCapacity)
        Parameters:
        maxCapacity - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
        Returns:
        builder
      • namespaceName

        public WorkgroupState.Builder namespaceName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> namespaceName)
        Parameters:
        namespaceName - The name of the namespace.
        Returns:
        builder
      • namespaceName

        public WorkgroupState.Builder namespaceName​(java.lang.String namespaceName)
        Parameters:
        namespaceName - The name of the namespace.
        Returns:
        builder
      • port

        public WorkgroupState.Builder port​(@Nullable
                                           com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - The port number on which the cluster accepts incoming connections.
        Returns:
        builder
      • port

        public WorkgroupState.Builder port​(java.lang.Integer port)
        Parameters:
        port - The port number on which the cluster accepts incoming connections.
        Returns:
        builder
      • pricePerformanceTarget

        public WorkgroupState.Builder pricePerformanceTarget​(@Nullable
                                                             com.pulumi.core.Output<WorkgroupPricePerformanceTargetArgs> pricePerformanceTarget)
        Parameters:
        pricePerformanceTarget - Price-performance scaling for the workgroup. See `Price Performance Target` below.
        Returns:
        builder
      • publiclyAccessible

        public WorkgroupState.Builder publiclyAccessible​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
        Parameters:
        publiclyAccessible - A value that specifies whether the workgroup can be accessed from a public network.
        Returns:
        builder
      • publiclyAccessible

        public WorkgroupState.Builder publiclyAccessible​(java.lang.Boolean publiclyAccessible)
        Parameters:
        publiclyAccessible - A value that specifies whether the workgroup can be accessed from a public network.
        Returns:
        builder
      • region

        public WorkgroupState.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 WorkgroupState.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
      • securityGroupIds

        public WorkgroupState.Builder securityGroupIds​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
        Parameters:
        securityGroupIds - An array of security group IDs to associate with the workgroup.
        Returns:
        builder
      • securityGroupIds

        public WorkgroupState.Builder securityGroupIds​(java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - An array of security group IDs to associate with the workgroup.
        Returns:
        builder
      • securityGroupIds

        public WorkgroupState.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - An array of security group IDs to associate with the workgroup.
        Returns:
        builder
      • subnetIds

        public WorkgroupState.Builder subnetIds​(@Nullable
                                                com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-known-issues.html).
        Returns:
        builder
      • subnetIds

        public WorkgroupState.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-known-issues.html).
        Returns:
        builder
      • subnetIds

        public WorkgroupState.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-known-issues.html).
        Returns:
        builder
      • tags

        public WorkgroupState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public WorkgroupState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

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

        public WorkgroupState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • trackName

        public WorkgroupState.Builder trackName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> trackName)
        Parameters:
        trackName - The name of the track for the workgroup. If it is `current`, you get the most up-to-date certified release version with the latest features, security updates, and performance enhancements. If it is `trailing`, you will be on the previous certified release. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/tracks.html).
        Returns:
        builder
      • trackName

        public WorkgroupState.Builder trackName​(java.lang.String trackName)
        Parameters:
        trackName - The name of the track for the workgroup. If it is `current`, you get the most up-to-date certified release version with the latest features, security updates, and performance enhancements. If it is `trailing`, you will be on the previous certified release. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/tracks.html).
        Returns:
        builder
      • workgroupId

        public WorkgroupState.Builder workgroupId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> workgroupId)
        Parameters:
        workgroupId - The Redshift Workgroup ID.
        Returns:
        builder
      • workgroupId

        public WorkgroupState.Builder workgroupId​(java.lang.String workgroupId)
        Parameters:
        workgroupId - The Redshift Workgroup ID.
        Returns:
        builder
      • workgroupName

        public WorkgroupState.Builder workgroupName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> workgroupName)
        Parameters:
        workgroupName - The name of the workgroup. The following arguments are optional:
        Returns:
        builder
      • workgroupName

        public WorkgroupState.Builder workgroupName​(java.lang.String workgroupName)
        Parameters:
        workgroupName - The name of the workgroup. The following arguments are optional:
        Returns:
        builder