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 Details

    • 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

      Set to true to force the application to stop. If you set Force to true , 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, or RUNNING status.

      Parameters:
      force - Set to true to force the application to stop. If you set Force to true, 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, or RUNNING 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.