Class CfnChannel.LoggingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnChannel.LoggingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.LoggingConfigurationProperty>
- Enclosing interface:
CfnChannel.LoggingConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.LoggingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.LoggingConfigurationProperty>
A builder for
CfnChannel.LoggingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnChannel.LoggingConfigurationProperty.getCloudWatchLogs()cloudWatchLogs(CfnChannel.CloudWatchLogsConfigurationProperty cloudWatchLogs) Sets the value ofCfnChannel.LoggingConfigurationProperty.getCloudWatchLogs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogs
@Stability(Stable) public CfnChannel.LoggingConfigurationProperty.Builder cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnChannel.LoggingConfigurationProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- CloudWatch Logs configuration for the channel. This parameter is required. When Enabled is true and LogGroupName is omitted, the service uses a default group derived from the channel name and id; LogStreamName defaults to the literal string 'DestinationDelivery'.- Returns:
this
-
cloudWatchLogs
@Stability(Stable) public CfnChannel.LoggingConfigurationProperty.Builder cloudWatchLogs(CfnChannel.CloudWatchLogsConfigurationProperty cloudWatchLogs) Sets the value ofCfnChannel.LoggingConfigurationProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- CloudWatch Logs configuration for the channel. This parameter is required. When Enabled is true and LogGroupName is omitted, the service uses a default group derived from the channel name and id; LogStreamName defaults to the literal string 'DestinationDelivery'.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.LoggingConfigurationProperty>- Returns:
- a new instance of
CfnChannel.LoggingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-