@Generated(value="software.amazon.awssdk:codegen") public final class ParallelismConfigurationDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParallelismConfigurationDescription.Builder,ParallelismConfigurationDescription>
Describes parameters for how a Flink-based Kinesis Data Analytics application executes multiple tasks simultaneously.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParallelismConfigurationDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoScalingEnabled()
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response
to increased throughput.
|
static ParallelismConfigurationDescription.Builder |
builder() |
ConfigurationType |
configurationType()
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
|
String |
configurationTypeAsString()
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
|
Integer |
currentParallelism()
Describes the current number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
parallelism()
Describes the initial number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform.
|
Integer |
parallelismPerKPU()
Describes the number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform per
Kinesis Processing Unit (KPU) used by the application.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ParallelismConfigurationDescription.Builder> |
serializableBuilderClass() |
ParallelismConfigurationDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ConfigurationType configurationType()
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from configurationTypeAsString().
ConfigurationTypepublic final String configurationTypeAsString()
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from configurationTypeAsString().
ConfigurationTypepublic final Integer parallelism()
Describes the initial number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform.
If AutoScalingEnabled is set to True, then Kinesis Data Analytics can increase the
CurrentParallelism value in response to application load. The service can increase
CurrentParallelism 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, then Kinesis Data Analytics can increase the
CurrentParallelism value in response to application load. The service can increase
CurrentParallelism 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 final Integer parallelismPerKPU()
Describes the number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.
public final Integer currentParallelism()
Describes the current number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform.
If AutoScalingEnabled is set to True, Kinesis Data Analytics can increase this value in response to
application load. The service can increase this 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, Kinesis Data Analytics can increase this
value in response to application load. The service can increase this 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 final Boolean autoScalingEnabled()
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
public ParallelismConfigurationDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ParallelismConfigurationDescription.Builder,ParallelismConfigurationDescription>public static ParallelismConfigurationDescription.Builder builder()
public static Class<? extends ParallelismConfigurationDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.