Class CfnApplicationCloudWatchLoggingOptionV2.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationCloudWatchLoggingOptionV2.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationCloudWatchLoggingOptionV2>
- Enclosing class:
CfnApplicationCloudWatchLoggingOptionV2
@Stability(Stable)
public static final class CfnApplicationCloudWatchLoggingOptionV2.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationCloudWatchLoggingOptionV2>
A fluent builder for
CfnApplicationCloudWatchLoggingOptionV2
.-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) The name of the application.build()
cloudWatchLoggingOption
(IResolvable cloudWatchLoggingOption) Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN).cloudWatchLoggingOption
(CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty cloudWatchLoggingOption) Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN).
-
Method Details
-
create
@Stability(Stable) public static CfnApplicationCloudWatchLoggingOptionV2.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnApplicationCloudWatchLoggingOptionV2.Builder
.
-
applicationName
@Stability(Stable) public CfnApplicationCloudWatchLoggingOptionV2.Builder applicationName(String applicationName) The name of the application.- Parameters:
applicationName
- The name of the application. This parameter is required.- Returns:
this
-
cloudWatchLoggingOption
@Stability(Stable) public CfnApplicationCloudWatchLoggingOptionV2.Builder cloudWatchLoggingOption(IResolvable cloudWatchLoggingOption) Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN).- Parameters:
cloudWatchLoggingOption
- Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN). This parameter is required.- Returns:
this
-
cloudWatchLoggingOption
@Stability(Stable) public CfnApplicationCloudWatchLoggingOptionV2.Builder cloudWatchLoggingOption(CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty cloudWatchLoggingOption) Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN).- Parameters:
cloudWatchLoggingOption
- Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN). This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationCloudWatchLoggingOptionV2>
- Returns:
- a newly built instance of
CfnApplicationCloudWatchLoggingOptionV2
.
-