Interface DestinationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DestinationConfiguration.Builder,
,DestinationConfiguration> SdkBuilder<DestinationConfiguration.Builder,
,DestinationConfiguration> SdkPojo
- Enclosing class:
DestinationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault DestinationConfiguration.Builder
cloudWatchLogs
(Consumer<CloudWatchLogsDestinationConfiguration.Builder> cloudWatchLogs) An Amazon CloudWatch Logs destination configuration where chat activity will be logged.cloudWatchLogs
(CloudWatchLogsDestinationConfiguration cloudWatchLogs) An Amazon CloudWatch Logs destination configuration where chat activity will be logged.default DestinationConfiguration.Builder
An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.firehose
(FirehoseDestinationConfiguration firehose) An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.default DestinationConfiguration.Builder
An Amazon S3 destination configuration where chat activity will be logged.An Amazon S3 destination configuration where chat activity will be logged.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
cloudWatchLogs
DestinationConfiguration.Builder cloudWatchLogs(CloudWatchLogsDestinationConfiguration cloudWatchLogs) An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
- Parameters:
cloudWatchLogs
- An Amazon CloudWatch Logs destination configuration where chat activity will be logged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
default DestinationConfiguration.Builder cloudWatchLogs(Consumer<CloudWatchLogsDestinationConfiguration.Builder> cloudWatchLogs) An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
This is a convenience method that creates an instance of theCloudWatchLogsDestinationConfiguration.Builder
avoiding the need to create one manually viaCloudWatchLogsDestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLogs(CloudWatchLogsDestinationConfiguration)
.- Parameters:
cloudWatchLogs
- a consumer that will call methods onCloudWatchLogsDestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firehose
An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
- Parameters:
firehose
- An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firehose
default DestinationConfiguration.Builder firehose(Consumer<FirehoseDestinationConfiguration.Builder> firehose) An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
This is a convenience method that creates an instance of theFirehoseDestinationConfiguration.Builder
avoiding the need to create one manually viaFirehoseDestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofirehose(FirehoseDestinationConfiguration)
.- Parameters:
firehose
- a consumer that will call methods onFirehoseDestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3
An Amazon S3 destination configuration where chat activity will be logged.
- Parameters:
s3
- An Amazon S3 destination configuration where chat activity will be logged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
An Amazon S3 destination configuration where chat activity will be logged.
This is a convenience method that creates an instance of theS3DestinationConfiguration.Builder
avoiding the need to create one manually viaS3DestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(S3DestinationConfiguration)
.- Parameters:
s3
- a consumer that will call methods onS3DestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-