Interface AddApplicationCloudWatchLoggingOptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddApplicationCloudWatchLoggingOptionRequest.Builder,
,AddApplicationCloudWatchLoggingOptionRequest> KinesisAnalyticsV2Request.Builder
,SdkBuilder<AddApplicationCloudWatchLoggingOptionRequest.Builder,
,AddApplicationCloudWatchLoggingOptionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddApplicationCloudWatchLoggingOptionRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) The Kinesis Data Analytics application name.cloudWatchLoggingOption
(Consumer<CloudWatchLoggingOption.Builder> cloudWatchLoggingOption) Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).cloudWatchLoggingOption
(CloudWatchLoggingOption cloudWatchLoggingOption) Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).conditionalToken
(String conditionalToken) A value you use to implement strong concurrency for application updates.currentApplicationVersionId
(Long currentApplicationVersionId) The version ID of the Kinesis Data Analytics application.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 Kinesis Data Analytics application name.
- Parameters:
applicationName
- The Kinesis Data Analytics application name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentApplicationVersionId
AddApplicationCloudWatchLoggingOptionRequest.Builder currentApplicationVersionId(Long currentApplicationVersionId) The version ID of the Kinesis Data Analytics application. 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 version ID of the Kinesis Data Analytics application. 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.
-
cloudWatchLoggingOption
AddApplicationCloudWatchLoggingOptionRequest.Builder cloudWatchLoggingOption(CloudWatchLoggingOption cloudWatchLoggingOption) Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).
- Parameters:
cloudWatchLoggingOption
- Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLoggingOption
default AddApplicationCloudWatchLoggingOptionRequest.Builder cloudWatchLoggingOption(Consumer<CloudWatchLoggingOption.Builder> cloudWatchLoggingOption) Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).
This is a convenience method that creates an instance of theCloudWatchLoggingOption.Builder
avoiding the need to create one manually viaCloudWatchLoggingOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLoggingOption(CloudWatchLoggingOption)
.- Parameters:
cloudWatchLoggingOption
- a consumer that will call methods onCloudWatchLoggingOption.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.
-
overrideConfiguration
AddApplicationCloudWatchLoggingOptionRequest.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
AddApplicationCloudWatchLoggingOptionRequest.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.
-