Class CfnConnector.LogDeliveryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kafkaconnect.CfnConnector.LogDeliveryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector.LogDeliveryProperty>
- Enclosing interface:
CfnConnector.LogDeliveryProperty
@Stability(Stable)
public static final class CfnConnector.LogDeliveryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector.LogDeliveryProperty>
A builder for
CfnConnector.LogDeliveryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.workerLogDelivery(IResolvable workerLogDelivery) Sets the value ofCfnConnector.LogDeliveryProperty.getWorkerLogDelivery()workerLogDelivery(CfnConnector.WorkerLogDeliveryProperty workerLogDelivery) Sets the value ofCfnConnector.LogDeliveryProperty.getWorkerLogDelivery()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workerLogDelivery
@Stability(Stable) public CfnConnector.LogDeliveryProperty.Builder workerLogDelivery(IResolvable workerLogDelivery) Sets the value ofCfnConnector.LogDeliveryProperty.getWorkerLogDelivery()- Parameters:
workerLogDelivery- The workers can send worker logs to different destination types. This parameter is required. This configuration specifies the details of these destinations.- Returns:
this
-
workerLogDelivery
@Stability(Stable) public CfnConnector.LogDeliveryProperty.Builder workerLogDelivery(CfnConnector.WorkerLogDeliveryProperty workerLogDelivery) Sets the value ofCfnConnector.LogDeliveryProperty.getWorkerLogDelivery()- Parameters:
workerLogDelivery- The workers can send worker logs to different destination types. This parameter is required. This configuration specifies the details of these destinations.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnector.LogDeliveryProperty>- Returns:
- a new instance of
CfnConnector.LogDeliveryProperty - Throws:
NullPointerException- if any required attribute was not provided
-