Interface StopApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StopApplicationRequest.Builder,
,StopApplicationRequest> KinesisAnalyticsV2Request.Builder
,SdkBuilder<StopApplicationRequest.Builder,
,StopApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StopApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) The name of the running application to stop.Set totrue
to force the application to stop.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisanalyticsv2.model.KinesisAnalyticsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationName
The name of the running application to stop.
- Parameters:
applicationName
- The name of the running application to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
force
Set to
true
to force the application to stop. If you setForce
totrue
, Managed Service for Apache Flink stops the application without taking a snapshot.Force-stopping your application may lead to data loss or duplication. To prevent data loss or duplicate processing of data during application restarts, we recommend you to take frequent snapshots of your application.
You can only force stop a Managed Service for Apache Flink application. You can't force stop a SQL-based Kinesis Data Analytics application.
The application must be in the
STARTING
,UPDATING
,STOPPING
,AUTOSCALING
, orRUNNING
status.- Parameters:
force
- Set totrue
to force the application to stop. If you setForce
totrue
, Managed Service for Apache Flink stops the application without taking a snapshot.Force-stopping your application may lead to data loss or duplication. To prevent data loss or duplicate processing of data during application restarts, we recommend you to take frequent snapshots of your application.
You can only force stop a Managed Service for Apache Flink application. You can't force stop a SQL-based Kinesis Data Analytics application.
The application must be in the
STARTING
,UPDATING
,STOPPING
,AUTOSCALING
, orRUNNING
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StopApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StopApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-