Class CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty>
- Enclosing interface:
CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty
@Stability(Stable)
public static final class CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.logStreamArn
(String logStreamArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logStreamArn
@Stability(Stable) public CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty.Builder logStreamArn(String logStreamArn) Sets the value ofCfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty.getLogStreamArn()
- Parameters:
logStreamArn
- The ARN of the CloudWatch log to receive application messages. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty>
- Returns:
- a new instance of
CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-