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