Class LogDestinationParameters.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.alpha.LogDestinationParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LogDestinationParameters>
- Enclosing interface:
LogDestinationParameters
@Stability(Experimental)
public static final class LogDestinationParameters.Builder
extends Object
implements software.amazon.jsii.Builder<LogDestinationParameters>
A builder for
LogDestinationParameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudwatchLogsLogDestination
(CfnPipe.CloudwatchLogsLogDestinationProperty cloudwatchLogsLogDestination) Sets the value ofLogDestinationParameters.getCloudwatchLogsLogDestination()
firehoseLogDestination
(CfnPipe.FirehoseLogDestinationProperty firehoseLogDestination) Sets the value ofLogDestinationParameters.getFirehoseLogDestination()
s3LogDestination
(CfnPipe.S3LogDestinationProperty s3LogDestination) Sets the value ofLogDestinationParameters.getS3LogDestination()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudwatchLogsLogDestination
@Stability(Experimental) public LogDestinationParameters.Builder cloudwatchLogsLogDestination(CfnPipe.CloudwatchLogsLogDestinationProperty cloudwatchLogsLogDestination) Sets the value ofLogDestinationParameters.getCloudwatchLogsLogDestination()
- Parameters:
cloudwatchLogsLogDestination
- The logging configuration settings for the pipe.- Returns:
this
-
firehoseLogDestination
@Stability(Experimental) public LogDestinationParameters.Builder firehoseLogDestination(CfnPipe.FirehoseLogDestinationProperty firehoseLogDestination) Sets the value ofLogDestinationParameters.getFirehoseLogDestination()
- Parameters:
firehoseLogDestination
- The Amazon Kinesis Data Firehose logging configuration settings for the pipe.- Returns:
this
-
s3LogDestination
@Stability(Experimental) public LogDestinationParameters.Builder s3LogDestination(CfnPipe.S3LogDestinationProperty s3LogDestination) Sets the value ofLogDestinationParameters.getS3LogDestination()
- Parameters:
s3LogDestination
- The Amazon S3 logging configuration settings for the pipe.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LogDestinationParameters>
- Returns:
- a new instance of
LogDestinationParameters
- Throws:
NullPointerException
- if any required attribute was not provided
-