Interface AddApplicationCloudWatchLoggingOptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddApplicationCloudWatchLoggingOptionRequest.Builder,
,AddApplicationCloudWatchLoggingOptionRequest> KinesisAnalyticsRequest.Builder
,SdkBuilder<AddApplicationCloudWatchLoggingOptionRequest.Builder,
,AddApplicationCloudWatchLoggingOptionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddApplicationCloudWatchLoggingOptionRequest
public static interface AddApplicationCloudWatchLoggingOptionRequest.Builder
extends KinesisAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<AddApplicationCloudWatchLoggingOptionRequest.Builder,AddApplicationCloudWatchLoggingOptionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) The Kinesis Analytics application name.cloudWatchLoggingOption
(Consumer<CloudWatchLoggingOption.Builder> cloudWatchLoggingOption) Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN.cloudWatchLoggingOption
(CloudWatchLoggingOption cloudWatchLoggingOption) Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN.currentApplicationVersionId
(Long currentApplicationVersionId) The version ID of the Kinesis 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.kinesisanalytics.model.KinesisAnalyticsRequest.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 Analytics application name.
- Parameters:
applicationName
- The Kinesis 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 Analytics application.
- Parameters:
currentApplicationVersionId
- The version ID of the Kinesis Analytics application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLoggingOption
AddApplicationCloudWatchLoggingOptionRequest.Builder cloudWatchLoggingOption(CloudWatchLoggingOption cloudWatchLoggingOption) Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application messages to CloudWatch, the IAM role that is used must have the
PutLogEvents
policy action enabled.- Parameters:
cloudWatchLoggingOption
- Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application messages to CloudWatch, the IAM role that is used must have thePutLogEvents
policy action enabled.- 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 CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application messages to CloudWatch, the IAM role that is used must have the
This is a convenience method that creates an instance of thePutLogEvents
policy action enabled.CloudWatchLoggingOption.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:
-
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.
-