Interface UpdateWorkgroupRequest.Builder

  • Method Details

    • baseCapacity

      UpdateWorkgroupRequest.Builder baseCapacity(Integer baseCapacity)

      The new base data warehouse capacity in Redshift Processing Units (RPUs).

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

      UpdateWorkgroupRequest.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

      UpdateWorkgroupRequest.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

      UpdateWorkgroupRequest.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

      UpdateWorkgroupRequest.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.

      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddressType

      UpdateWorkgroupRequest.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

      UpdateWorkgroupRequest.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.
    • 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

      UpdateWorkgroupRequest.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 UpdateWorkgroupRequest.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

      UpdateWorkgroupRequest.Builder publiclyAccessible(Boolean publiclyAccessible)

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

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

      UpdateWorkgroupRequest.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

      UpdateWorkgroupRequest.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

      UpdateWorkgroupRequest.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.
    • trackName

      UpdateWorkgroupRequest.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

      UpdateWorkgroupRequest.Builder workgroupName(String workgroupName)

      The name of the workgroup to update. You can't update the name of a workgroup once it is created.

      Parameters:
      workgroupName - The name of the workgroup to update. You can't update the name of a workgroup once it is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateWorkgroupRequest.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.