@Generated(value="software.amazon.awssdk:codegen") public final class ParallelismConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParallelismConfiguration.Builder,ParallelismConfiguration>
Describes parameters for how a Java-based Amazon Kinesis Data Analytics application executes multiple tasks simultaneously. For more information about parallelism, see Parallel Execution in the Apache Flink Documentation.
Modifier and Type | Class and Description |
---|---|
static interface |
ParallelismConfiguration.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 ParallelismConfiguration.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.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
parallelism()
Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.
|
Integer |
parallelismPerKPU()
Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per
Kinesis Processing Unit (KPU) used by the application.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ParallelismConfiguration.Builder> |
serializableBuilderClass() |
ParallelismConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
.
ConfigurationType
public 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()
.
ConfigurationType
public Integer parallelism()
Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.
The Kinesis Data Analytics service can increase this number automatically if
ParallelismConfiguration$AutoScalingEnabled is set to true
.
true
.public Integer parallelismPerKPU()
Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application. For more information about KPUs, see Amazon Kinesis Data Analytics Pricing.
public Boolean autoScalingEnabled()
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
public ParallelismConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ParallelismConfiguration.Builder,ParallelismConfiguration>
public static ParallelismConfiguration.Builder builder()
public static Class<? extends ParallelismConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.