@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParallelismConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ParallelismConfiguration() |
Modifier and Type | Method and Description |
---|---|
ParallelismConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoScalingEnabled()
Describes whether the Kinesis Data Analytics 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 Kinesis Data Analytics service.
|
Integer |
getParallelism()
Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.
|
Integer |
getParallelismPerKPU()
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.
|
int |
hashCode() |
Boolean |
isAutoScalingEnabled()
Describes whether the Kinesis Data Analytics 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 Kinesis Data Analytics 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 Kinesis Data Analytics service.
|
void |
setParallelism(Integer parallelism)
Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.
|
void |
setParallelismPerKPU(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.
|
String |
toString()
Returns a string representation of this object.
|
ParallelismConfiguration |
withAutoScalingEnabled(Boolean autoScalingEnabled)
Describes whether the Kinesis Data Analytics 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 Kinesis Data Analytics service.
|
ParallelismConfiguration |
withConfigurationType(String configurationType)
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
|
ParallelismConfiguration |
withParallelism(Integer parallelism)
Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.
|
ParallelismConfiguration |
withParallelismPerKPU(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.
|
public void setConfigurationType(String configurationType)
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
configurationType
- Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.ConfigurationType
public String getConfigurationType()
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
ConfigurationType
public ParallelismConfiguration withConfigurationType(String configurationType)
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
configurationType
- Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.ConfigurationType
public ParallelismConfiguration withConfigurationType(ConfigurationType configurationType)
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.
configurationType
- Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.ConfigurationType
public void setParallelism(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
.
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
.public Integer getParallelism()
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 ParallelismConfiguration withParallelism(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
.
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
.public void setParallelismPerKPU(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.
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 Integer getParallelismPerKPU()
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 ParallelismConfiguration withParallelismPerKPU(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.
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 void setAutoScalingEnabled(Boolean autoScalingEnabled)
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
autoScalingEnabled
- Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in
response to increased throughput.public Boolean getAutoScalingEnabled()
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
public ParallelismConfiguration withAutoScalingEnabled(Boolean autoScalingEnabled)
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
autoScalingEnabled
- Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in
response to increased throughput.public Boolean isAutoScalingEnabled()
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
public String toString()
toString
in class Object
Object.toString()
public ParallelismConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.