Interface ParallelismConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ParallelismConfiguration.Builder,ParallelismConfiguration>, SdkBuilder<ParallelismConfiguration.Builder,ParallelismConfiguration>, SdkPojo
Enclosing class:
ParallelismConfiguration

public static interface ParallelismConfiguration.Builder extends SdkPojo, CopyableBuilder<ParallelismConfiguration.Builder,ParallelismConfiguration>
  • Method Details

    • configurationType

      ParallelismConfiguration.Builder configurationType(String configurationType)

      Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service. You must set this property to CUSTOM in order to change your application's AutoScalingEnabled, Parallelism, or ParallelismPerKPU properties.

      Parameters:
      configurationType - Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service. You must set this property to CUSTOM in order to change your application's AutoScalingEnabled, Parallelism, or ParallelismPerKPU properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • configurationType

      ParallelismConfiguration.Builder configurationType(ConfigurationType configurationType)

      Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service. You must set this property to CUSTOM in order to change your application's AutoScalingEnabled, Parallelism, or ParallelismPerKPU properties.

      Parameters:
      configurationType - Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service. You must set this property to CUSTOM in order to change your application's AutoScalingEnabled, Parallelism, or ParallelismPerKPU properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parallelism

      ParallelismConfiguration.Builder parallelism(Integer parallelism)

      Describes the initial number of parallel tasks that a Managed Service for Apache Flink application can perform. If AutoScalingEnabled is set to True, Managed Service for Apache Flink increases the CurrentParallelism value in response to application load. The service can increase the CurrentParallelism value up to the maximum parallelism, which is ParalellismPerKPU times the maximum KPUs for the application. The maximum KPUs for an application is 32 by default, and can be increased by requesting a limit increase. If application load is reduced, the service can reduce the CurrentParallelism value down to the Parallelism setting.

      Parameters:
      parallelism - Describes the initial number of parallel tasks that a Managed Service for Apache Flink application can perform. If AutoScalingEnabled is set to True, Managed Service for Apache Flink increases the CurrentParallelism value in response to application load. The service can increase the CurrentParallelism value up to the maximum parallelism, which is ParalellismPerKPU times the maximum KPUs for the application. The maximum KPUs for an application is 32 by default, and can be increased by requesting a limit increase. If application load is reduced, the service can reduce the CurrentParallelism value down to the Parallelism setting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parallelismPerKPU

      ParallelismConfiguration.Builder parallelismPerKPU(Integer parallelismPerKPU)

      Describes the number of parallel tasks that a Managed Service for Apache Flink application can perform per Kinesis Processing Unit (KPU) used by the application. For more information about KPUs, see Amazon Managed Service for Apache Flink Pricing.

      Parameters:
      parallelismPerKPU - Describes the number of parallel tasks that a Managed Service for Apache Flink application can perform per Kinesis Processing Unit (KPU) used by the application. For more information about KPUs, see Amazon Managed Service for Apache Flink Pricing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoScalingEnabled

      ParallelismConfiguration.Builder autoScalingEnabled(Boolean autoScalingEnabled)

      Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.

      Parameters:
      autoScalingEnabled - Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.
      Returns:
      Returns a reference to this object so that method calls can be chained together.