Class CfnLoggingConfiguration.DestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ivschat.CfnLoggingConfiguration.DestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingConfiguration.DestinationConfigurationProperty>
- Enclosing interface:
CfnLoggingConfiguration.DestinationConfigurationProperty
@Stability(Stable)
public static final class CfnLoggingConfiguration.DestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggingConfiguration.DestinationConfigurationProperty>
A builder for
CfnLoggingConfiguration.DestinationConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatchLogs
(IResolvable cloudWatchLogs) cloudWatchLogs
(CfnLoggingConfiguration.CloudWatchLogsDestinationConfigurationProperty cloudWatchLogs) firehose
(IResolvable firehose) Sets the value ofCfnLoggingConfiguration.DestinationConfigurationProperty.getFirehose()
Sets the value ofCfnLoggingConfiguration.DestinationConfigurationProperty.getFirehose()
s3
(IResolvable s3) Sets the value ofCfnLoggingConfiguration.DestinationConfigurationProperty.getS3()
Sets the value ofCfnLoggingConfiguration.DestinationConfigurationProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogs
@Stability(Stable) public CfnLoggingConfiguration.DestinationConfigurationProperty.Builder cloudWatchLogs(IResolvable cloudWatchLogs) - Parameters:
cloudWatchLogs
- An Amazon CloudWatch Logs destination configuration where chat activity will be logged.- Returns:
this
-
cloudWatchLogs
@Stability(Stable) public CfnLoggingConfiguration.DestinationConfigurationProperty.Builder cloudWatchLogs(CfnLoggingConfiguration.CloudWatchLogsDestinationConfigurationProperty cloudWatchLogs) - Parameters:
cloudWatchLogs
- An Amazon CloudWatch Logs destination configuration where chat activity will be logged.- Returns:
this
-
firehose
@Stability(Stable) public CfnLoggingConfiguration.DestinationConfigurationProperty.Builder firehose(IResolvable firehose) Sets the value ofCfnLoggingConfiguration.DestinationConfigurationProperty.getFirehose()
- Parameters:
firehose
- An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.- Returns:
this
-
firehose
@Stability(Stable) public CfnLoggingConfiguration.DestinationConfigurationProperty.Builder firehose(CfnLoggingConfiguration.FirehoseDestinationConfigurationProperty firehose) Sets the value ofCfnLoggingConfiguration.DestinationConfigurationProperty.getFirehose()
- Parameters:
firehose
- An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.- Returns:
this
-
s3
@Stability(Stable) public CfnLoggingConfiguration.DestinationConfigurationProperty.Builder s3(IResolvable s3) Sets the value ofCfnLoggingConfiguration.DestinationConfigurationProperty.getS3()
- Parameters:
s3
- An Amazon S3 destination configuration where chat activity will be logged.- Returns:
this
-
s3
@Stability(Stable) public CfnLoggingConfiguration.DestinationConfigurationProperty.Builder s3(CfnLoggingConfiguration.S3DestinationConfigurationProperty s3) Sets the value ofCfnLoggingConfiguration.DestinationConfigurationProperty.getS3()
- Parameters:
s3
- An Amazon S3 destination configuration where chat activity will be logged.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLoggingConfiguration.DestinationConfigurationProperty>
- Returns:
- a new instance of
CfnLoggingConfiguration.DestinationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-