@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParallelismConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes parameters for how a Managed Service for Apache Flink application executes multiple tasks simultaneously. For more information about parallelism, see Parallel Execution in the Apache Flink Documentation.
| Constructor and Description |
|---|
ParallelismConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ParallelismConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoScalingEnabled()
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in
response to increased throughput.
|
String |
getConfigurationType()
Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service.
|
Integer |
getParallelism()
Describes the initial number of parallel tasks that a Managed Service for Apache Flink application can perform.
|
Integer |
getParallelismPerKPU()
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.
|
int |
hashCode() |
Boolean |
isAutoScalingEnabled()
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in
response to increased throughput.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAutoScalingEnabled(Boolean autoScalingEnabled)
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in
response to increased throughput.
|
void |
setConfigurationType(String configurationType)
Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service.
|
void |
setParallelism(Integer parallelism)
Describes the initial number of parallel tasks that a Managed Service for Apache Flink application can perform.
|
void |
setParallelismPerKPU(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.
|
String |
toString()
Returns a string representation of this object.
|
ParallelismConfiguration |
withAutoScalingEnabled(Boolean autoScalingEnabled)
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in
response to increased throughput.
|
ParallelismConfiguration |
withConfigurationType(ConfigurationType configurationType)
Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service.
|
ParallelismConfiguration |
withConfigurationType(String configurationType)
Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service.
|
ParallelismConfiguration |
withParallelism(Integer parallelism)
Describes the initial number of parallel tasks that a Managed Service for Apache Flink application can perform.
|
ParallelismConfiguration |
withParallelismPerKPU(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.
|
public void setConfigurationType(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.
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.ConfigurationTypepublic String getConfigurationType()
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.
CUSTOM in order to change your application's
AutoScalingEnabled, Parallelism, or ParallelismPerKPU properties.ConfigurationTypepublic ParallelismConfiguration withConfigurationType(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.
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.ConfigurationTypepublic ParallelismConfiguration withConfigurationType(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.
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.ConfigurationTypepublic void setParallelism(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.
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.public Integer getParallelism()
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.
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.public ParallelismConfiguration withParallelism(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.
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.public void setParallelismPerKPU(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.
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.public Integer getParallelismPerKPU()
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.
public ParallelismConfiguration withParallelismPerKPU(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.
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.public void setAutoScalingEnabled(Boolean autoScalingEnabled)
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.
autoScalingEnabled - Describes whether the Managed Service for Apache Flink service can increase the parallelism of the
application in response to increased throughput.public Boolean getAutoScalingEnabled()
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.
public ParallelismConfiguration withAutoScalingEnabled(Boolean autoScalingEnabled)
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.
autoScalingEnabled - Describes whether the Managed Service for Apache Flink service can increase the parallelism of the
application in response to increased throughput.public Boolean isAutoScalingEnabled()
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.
public String toString()
toString in class ObjectObject.toString()public ParallelismConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.