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
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, 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
CurrentApplicationVersionIdor theConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.- Parameters:
currentApplicationVersionId- The version ID of the Kinesis Data Analytics application. 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.
-
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.Builderavoiding the need to create one manually viaCloudWatchLoggingOption.builder().When the
Consumercompletes,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
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.
-
overrideConfiguration
AddApplicationCloudWatchLoggingOptionRequest.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
AddApplicationCloudWatchLoggingOptionRequest.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.
-