Interface CreateWorkgroupRequest.Builder

  • Method Details

    • baseCapacity

      CreateWorkgroupRequest.Builder baseCapacity(Integer baseCapacity)

      The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

      Parameters:
      baseCapacity - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configParameters

      CreateWorkgroupRequest.Builder configParameters(Collection<ConfigParameter> configParameters)

      An array of parameters to set for advanced control over a database. The options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging, query_group, search_path, require_ssl, use_fips_ssl, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.

      Parameters:
      configParameters - An array of parameters to set for advanced control over a database. The options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging, query_group, search_path, require_ssl, use_fips_ssl, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configParameters

      CreateWorkgroupRequest.Builder configParameters(ConfigParameter... configParameters)

      An array of parameters to set for advanced control over a database. The options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging, query_group, search_path, require_ssl, use_fips_ssl, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.

      Parameters:
      configParameters - An array of parameters to set for advanced control over a database. The options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging, query_group, search_path, require_ssl, use_fips_ssl, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configParameters

      CreateWorkgroupRequest.Builder configParameters(Consumer<ConfigParameter.Builder>... configParameters)

      An array of parameters to set for advanced control over a database. The options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging, query_group, search_path, require_ssl, use_fips_ssl, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.

      This is a convenience method that creates an instance of the ConfigParameter.Builder avoiding the need to create one manually via ConfigParameter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configParameters(List<ConfigParameter>).

      Parameters:
      configParameters - a consumer that will call methods on ConfigParameter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enhancedVpcRouting

      CreateWorkgroupRequest.Builder enhancedVpcRouting(Boolean enhancedVpcRouting)

      The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.

      Parameters:
      enhancedVpcRouting - The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddressType

      CreateWorkgroupRequest.Builder ipAddressType(String ipAddressType)

      The IP address type that the workgroup supports. Possible values are ipv4 and dualstack.

      Parameters:
      ipAddressType - The IP address type that the workgroup supports. Possible values are ipv4 and dualstack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxCapacity

      CreateWorkgroupRequest.Builder maxCapacity(Integer maxCapacity)

      The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.

      Parameters:
      maxCapacity - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceName

      CreateWorkgroupRequest.Builder namespaceName(String namespaceName)

      The name of the namespace to associate with the workgroup.

      Parameters:
      namespaceName - The name of the namespace to associate with the workgroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.

      Parameters:
      port - The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricePerformanceTarget

      CreateWorkgroupRequest.Builder pricePerformanceTarget(PerformanceTarget pricePerformanceTarget)

      An object that represents the price performance target settings for the workgroup.

      Parameters:
      pricePerformanceTarget - An object that represents the price performance target settings for the workgroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricePerformanceTarget

      default CreateWorkgroupRequest.Builder pricePerformanceTarget(Consumer<PerformanceTarget.Builder> pricePerformanceTarget)

      An object that represents the price performance target settings for the workgroup.

      This is a convenience method that creates an instance of the PerformanceTarget.Builder avoiding the need to create one manually via PerformanceTarget.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pricePerformanceTarget(PerformanceTarget).

      Parameters:
      pricePerformanceTarget - a consumer that will call methods on PerformanceTarget.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • publiclyAccessible

      CreateWorkgroupRequest.Builder publiclyAccessible(Boolean publiclyAccessible)

      A value that specifies whether the workgroup can be accessed from a public network.

      Parameters:
      publiclyAccessible - A value that specifies whether the workgroup can be accessed from a public network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      CreateWorkgroupRequest.Builder securityGroupIds(Collection<String> securityGroupIds)

      An array of security group IDs to associate with the workgroup.

      Parameters:
      securityGroupIds - An array of security group IDs to associate with the workgroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      CreateWorkgroupRequest.Builder securityGroupIds(String... securityGroupIds)

      An array of security group IDs to associate with the workgroup.

      Parameters:
      securityGroupIds - An array of security group IDs to associate with the workgroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      An array of VPC subnet IDs to associate with the workgroup.

      Parameters:
      subnetIds - An array of VPC subnet IDs to associate with the workgroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      CreateWorkgroupRequest.Builder subnetIds(String... subnetIds)

      An array of VPC subnet IDs to associate with the workgroup.

      Parameters:
      subnetIds - An array of VPC subnet IDs to associate with the workgroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A array of tag instances.

      Parameters:
      tags - A array of tag instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A array of tag instances.

      Parameters:
      tags - A array of tag instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A array of tag instances.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trackName

      CreateWorkgroupRequest.Builder trackName(String trackName)

      An optional parameter for the name of the track for the workgroup. If you don't provide a track name, the workgroup is assigned to the current track.

      Parameters:
      trackName - An optional parameter for the name of the track for the workgroup. If you don't provide a track name, the workgroup is assigned to the current track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workgroupName

      CreateWorkgroupRequest.Builder workgroupName(String workgroupName)

      The name of the created workgroup.

      Parameters:
      workgroupName - The name of the created workgroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateWorkgroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.