Class CfnApplicationCloudWatchLoggingOptionV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationCloudWatchLoggingOptionV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationCloudWatchLoggingOptionV2Props>
- Enclosing interface:
CfnApplicationCloudWatchLoggingOptionV2Props
@Stability(Stable)
public static final class CfnApplicationCloudWatchLoggingOptionV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationCloudWatchLoggingOptionV2Props>
A builder for
CfnApplicationCloudWatchLoggingOptionV2Props
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) Sets the value ofCfnApplicationCloudWatchLoggingOptionV2Props.getApplicationName()
build()
Builds the configured instance.cloudWatchLoggingOption
(IResolvable cloudWatchLoggingOption) cloudWatchLoggingOption
(CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty cloudWatchLoggingOption)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public CfnApplicationCloudWatchLoggingOptionV2Props.Builder applicationName(String applicationName) Sets the value ofCfnApplicationCloudWatchLoggingOptionV2Props.getApplicationName()
- Parameters:
applicationName
- The name of the application. This parameter is required.- Returns:
this
-
cloudWatchLoggingOption
@Stability(Stable) public CfnApplicationCloudWatchLoggingOptionV2Props.Builder cloudWatchLoggingOption(IResolvable cloudWatchLoggingOption) - 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 CfnApplicationCloudWatchLoggingOptionV2Props.Builder cloudWatchLoggingOption(CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty cloudWatchLoggingOption) - 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
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationCloudWatchLoggingOptionV2Props>
- Returns:
- a new instance of
CfnApplicationCloudWatchLoggingOptionV2Props
- Throws:
NullPointerException
- if any required attribute was not provided
-