public static final class BrokerLogging.Builder
extends java.lang.Object
BrokerLogging
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BrokerLogging |
build()
Builds the configured instance.
|
BrokerLogging.Builder |
cloudwatchLogGroup(ILogGroup cloudwatchLogGroup)
Sets the value of
BrokerLogging.getCloudwatchLogGroup() |
BrokerLogging.Builder |
firehoseDeliveryStreamName(java.lang.String firehoseDeliveryStreamName)
Sets the value of
BrokerLogging.getFirehoseDeliveryStreamName() |
BrokerLogging.Builder |
s3(S3LoggingConfiguration s3)
Sets the value of
BrokerLogging.getS3() |
public BrokerLogging.Builder cloudwatchLogGroup(ILogGroup cloudwatchLogGroup)
BrokerLogging.getCloudwatchLogGroup()
cloudwatchLogGroup
- The CloudWatch Logs group that is the destination for broker logs.this
public BrokerLogging.Builder firehoseDeliveryStreamName(java.lang.String firehoseDeliveryStreamName)
BrokerLogging.getFirehoseDeliveryStreamName()
firehoseDeliveryStreamName
- The Kinesis Data Firehose delivery stream that is the destination for broker logs.this
public BrokerLogging.Builder s3(S3LoggingConfiguration s3)
BrokerLogging.getS3()
s3
- Details of the Amazon S3 destination for broker logs.this
public BrokerLogging build()
BrokerLogging
java.lang.NullPointerException
- if any required attribute was not provided