Class BrokerLogging.Builder
java.lang.Object
software.amazon.awscdk.services.msk.alpha.BrokerLogging.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BrokerLogging>
- Enclosing interface:
BrokerLogging
@Stability(Experimental)
public static final class BrokerLogging.Builder
extends Object
implements software.amazon.jsii.Builder<BrokerLogging>
A builder for
BrokerLogging-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudwatchLogGroup(ILogGroup cloudwatchLogGroup) Sets the value ofBrokerLogging.getCloudwatchLogGroup()firehoseDeliveryStreamName(String firehoseDeliveryStreamName) Sets the value ofBrokerLogging.getFirehoseDeliveryStreamName()Sets the value ofBrokerLogging.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudwatchLogGroup
@Stability(Experimental) public BrokerLogging.Builder cloudwatchLogGroup(ILogGroup cloudwatchLogGroup) Sets the value ofBrokerLogging.getCloudwatchLogGroup()- Parameters:
cloudwatchLogGroup- The CloudWatch Logs group that is the destination for broker logs.- Returns:
this
-
firehoseDeliveryStreamName
@Stability(Experimental) public BrokerLogging.Builder firehoseDeliveryStreamName(String firehoseDeliveryStreamName) Sets the value ofBrokerLogging.getFirehoseDeliveryStreamName()- Parameters:
firehoseDeliveryStreamName- The Amazon Data Firehose delivery stream that is the destination for broker logs.- Returns:
this
-
s3
Sets the value ofBrokerLogging.getS3()- Parameters:
s3- Details of the Amazon S3 destination for broker logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BrokerLogging>- Returns:
- a new instance of
BrokerLogging - Throws:
NullPointerException- if any required attribute was not provided
-