Class CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisfirehose.CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled) logGroupName(String logGroupName) logGroupName(ILogGroupRef logGroupName) logStreamName(String logStreamName) logStreamName(ILogGroupRef logStreamName) logStreamName(ILogStreamRef logStreamName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- Indicates whether CloudWatch Logs logging is enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- Indicates whether CloudWatch Logs logging is enabled.- Returns:
this
-
logGroupName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder logGroupName(String logGroupName) - Parameters:
logGroupName- The name of the CloudWatch Logs log group that contains the log stream that Kinesis Data Firehose will use. Conditional. If you enable logging, you must specify this property.- Returns:
this
-
logGroupName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder logGroupName(ILogGroupRef logGroupName) - Parameters:
logGroupName- The name of the CloudWatch Logs log group that contains the log stream that Kinesis Data Firehose will use. Conditional. If you enable logging, you must specify this property.- Returns:
this
-
logStreamName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder logStreamName(String logStreamName) - Parameters:
logStreamName- The name of the CloudWatch Logs log stream that Kinesis Data Firehose uses to send logs about data delivery. Conditional. If you enable logging, you must specify this property.- Returns:
this
-
logStreamName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder logStreamName(ILogGroupRef logStreamName) - Parameters:
logStreamName- The name of the CloudWatch Logs log stream that Kinesis Data Firehose uses to send logs about data delivery. Conditional. If you enable logging, you must specify this property.- Returns:
this
-
logStreamName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty.Builder logStreamName(ILogStreamRef logStreamName) - Parameters:
logStreamName- The name of the CloudWatch Logs log stream that Kinesis Data Firehose uses to send logs about data delivery. Conditional. If you enable logging, you must specify this property.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-