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.BuilderapplicationConfigurationUpdate(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.BuilderrunConfigurationUpdate(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisanalyticsv2.model.KinesisAnalyticsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
CurrentApplicationVersionIdor theConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.- Parameters:
currentApplicationVersionId- The current application version ID. You must provide theCurrentApplicationVersionIdor theConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use theConditionalTokenparameter 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.Builderavoiding the need to create one manually viaApplicationConfigurationUpdate.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRunConfigurationUpdate.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCloudWatchLoggingOptionUpdate.builder().When the
Consumercompletes,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
CurrentApplicationVersionIdor theConditionalToken. You get the application's currentConditionalTokenusing DescribeApplication. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.- Parameters:
conditionalToken- A value you use to implement strong concurrency for application updates. You must provide theCurrentApplicationVersionIdor theConditionalToken. You get the application's currentConditionalTokenusing DescribeApplication. For better concurrency support, use theConditionalTokenparameter 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-