Class WorkgroupArgs.Builder

  • Enclosing class:
    WorkgroupArgs

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

      • Builder

        public Builder()
    • Method Detail

      • baseCapacity

        public WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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
      • enhancedVpcRouting

        public WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.Builder namespaceName​(com.pulumi.core.Output<java.lang.String> namespaceName)
        Parameters:
        namespaceName - The name of the namespace.
        Returns:
        builder
      • namespaceName

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

        public WorkgroupArgs.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 WorkgroupArgs.Builder port​(java.lang.Integer port)
        Parameters:
        port - The port number on which the cluster accepts incoming connections.
        Returns:
        builder
      • pricePerformanceTarget

        public WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - An array of security group IDs to associate with the workgroup.
        Returns:
        builder
      • subnetIds

        public WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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 WorkgroupArgs.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
      • trackName

        public WorkgroupArgs.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 WorkgroupArgs.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
      • workgroupName

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

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