Interface UpdateApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> KinesisAnalyticsV2Request.Builder
,SdkBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateApplicationRequest.Builder
applicationConfigurationUpdate
(Consumer<ApplicationConfigurationUpdate.Builder> applicationConfigurationUpdate) Describes application configuration updates.applicationConfigurationUpdate
(ApplicationConfigurationUpdate applicationConfigurationUpdate) Describes application configuration updates.applicationName
(String applicationName) The name of the application to update.cloudWatchLoggingOptionUpdates
(Collection<CloudWatchLoggingOptionUpdate> cloudWatchLoggingOptionUpdates) Describes application Amazon CloudWatch logging option updates.cloudWatchLoggingOptionUpdates
(Consumer<CloudWatchLoggingOptionUpdate.Builder>... cloudWatchLoggingOptionUpdates) Describes application Amazon CloudWatch logging option updates.cloudWatchLoggingOptionUpdates
(CloudWatchLoggingOptionUpdate... cloudWatchLoggingOptionUpdates) Describes application Amazon CloudWatch logging option updates.conditionalToken
(String conditionalToken) A value you use to implement strong concurrency for application updates.currentApplicationVersionId
(Long currentApplicationVersionId) The current application version ID.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateApplicationRequest.Builder
runConfigurationUpdate
(Consumer<RunConfigurationUpdate.Builder> runConfigurationUpdate) Describes updates to the application's starting parameters.runConfigurationUpdate
(RunConfigurationUpdate runConfigurationUpdate) Describes updates to the application's starting parameters.runtimeEnvironmentUpdate
(String runtimeEnvironmentUpdate) Updates the Managed Service for Apache Flink runtime environment used to run your code.runtimeEnvironmentUpdate
(RuntimeEnvironment runtimeEnvironmentUpdate) Updates the Managed Service for Apache Flink runtime environment used to run your code.serviceExecutionRoleUpdate
(String serviceExecutionRoleUpdate) Describes updates to the service execution role.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 application to update.
- Parameters:
applicationName
- The name of the application to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentApplicationVersionId
The current application version ID. You must provide the
CurrentApplicationVersionId
or theConditionalToken
.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.- Parameters:
currentApplicationVersionId
- The current application version ID. You must provide theCurrentApplicationVersionId
or theConditionalToken
.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationConfigurationUpdate
UpdateApplicationRequest.Builder applicationConfigurationUpdate(ApplicationConfigurationUpdate applicationConfigurationUpdate) Describes application configuration updates.
- Parameters:
applicationConfigurationUpdate
- Describes application configuration updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationConfigurationUpdate
default UpdateApplicationRequest.Builder applicationConfigurationUpdate(Consumer<ApplicationConfigurationUpdate.Builder> applicationConfigurationUpdate) Describes application configuration updates.
This is a convenience method that creates an instance of theApplicationConfigurationUpdate.Builder
avoiding the need to create one manually viaApplicationConfigurationUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationConfigurationUpdate(ApplicationConfigurationUpdate)
.- Parameters:
applicationConfigurationUpdate
- a consumer that will call methods onApplicationConfigurationUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceExecutionRoleUpdate
Describes updates to the service execution role.
- Parameters:
serviceExecutionRoleUpdate
- Describes updates to the service execution role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runConfigurationUpdate
UpdateApplicationRequest.Builder runConfigurationUpdate(RunConfigurationUpdate runConfigurationUpdate) Describes updates to the application's starting parameters.
- Parameters:
runConfigurationUpdate
- Describes updates to the application's starting parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runConfigurationUpdate
default UpdateApplicationRequest.Builder runConfigurationUpdate(Consumer<RunConfigurationUpdate.Builder> runConfigurationUpdate) Describes updates to the application's starting parameters.
This is a convenience method that creates an instance of theRunConfigurationUpdate.Builder
avoiding the need to create one manually viaRunConfigurationUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torunConfigurationUpdate(RunConfigurationUpdate)
.- Parameters:
runConfigurationUpdate
- a consumer that will call methods onRunConfigurationUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudWatchLoggingOptionUpdates
UpdateApplicationRequest.Builder cloudWatchLoggingOptionUpdates(Collection<CloudWatchLoggingOptionUpdate> cloudWatchLoggingOptionUpdates) Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.
- Parameters:
cloudWatchLoggingOptionUpdates
- Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLoggingOptionUpdates
UpdateApplicationRequest.Builder cloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdate... cloudWatchLoggingOptionUpdates) Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.
- Parameters:
cloudWatchLoggingOptionUpdates
- Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLoggingOptionUpdates
UpdateApplicationRequest.Builder cloudWatchLoggingOptionUpdates(Consumer<CloudWatchLoggingOptionUpdate.Builder>... cloudWatchLoggingOptionUpdates) Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.
This is a convenience method that creates an instance of theCloudWatchLoggingOptionUpdate.Builder
avoiding the need to create one manually viaCloudWatchLoggingOptionUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLoggingOptionUpdates(List<CloudWatchLoggingOptionUpdate>)
.- Parameters:
cloudWatchLoggingOptionUpdates
- a consumer that will call methods onCloudWatchLoggingOptionUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditionalToken
A value you use to implement strong concurrency for application updates. You must provide the
CurrentApplicationVersionId
or theConditionalToken
. You get the application's currentConditionalToken
using DescribeApplication. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.- Parameters:
conditionalToken
- A value you use to implement strong concurrency for application updates. You must provide theCurrentApplicationVersionId
or theConditionalToken
. You get the application's currentConditionalToken
using DescribeApplication. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeEnvironmentUpdate
Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:
-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
- Parameters:
runtimeEnvironmentUpdate
- Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
runtimeEnvironmentUpdate
UpdateApplicationRequest.Builder runtimeEnvironmentUpdate(RuntimeEnvironment runtimeEnvironmentUpdate) Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:
-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
- Parameters:
runtimeEnvironmentUpdate
- Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
UpdateApplicationRequest.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
UpdateApplicationRequest.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.
-