Interface StopApplicationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StopApplicationRequest.Builder,StopApplicationRequest>,KinesisAnalyticsV2Request.Builder,SdkBuilder<StopApplicationRequest.Builder,StopApplicationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StopApplicationRequest
public static interface StopApplicationRequest.Builder extends KinesisAnalyticsV2Request.Builder, SdkPojo, CopyableBuilder<StopApplicationRequest.Builder,StopApplicationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StopApplicationRequest.BuilderapplicationName(String applicationName)The name of the running application to stop.StopApplicationRequest.Builderforce(Boolean force)Set totrueto force the application to stop.StopApplicationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StopApplicationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
applicationName
StopApplicationRequest.Builder applicationName(String 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
StopApplicationRequest.Builder force(Boolean force)
Set to
trueto force the application to stop. If you setForcetotrue, 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, orRUNNINGstatus.- Parameters:
force- Set totrueto force the application to stop. If you setForcetotrue, 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, orRUNNINGstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StopApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StopApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-