Class DeliveryProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.logs.DeliveryProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DeliveryProps>
- Enclosing interface:
DeliveryProps
@Stability(Experimental)
public static final class DeliveryProps.Builder
extends Object
implements software.amazon.jsii.Builder<DeliveryProps>
A builder for
DeliveryProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.mandatoryFields(List<String> mandatoryFields) Sets the value ofRecordFieldDeliveryProps.getMandatoryFields()outputFormat(String outputFormat) Sets the value ofDeliveryProps.getOutputFormat()providedFields(List<String> providedFields) Sets the value ofRecordFieldDeliveryProps.getProvidedFields()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
outputFormat
Sets the value ofDeliveryProps.getOutputFormat()- Parameters:
outputFormat- Format of the logs that are sent to the delivery destination specified.- Returns:
this
-
mandatoryFields
Sets the value ofRecordFieldDeliveryProps.getMandatoryFields()- Parameters:
mandatoryFields- Any recordFields that a mandatory to be included in a log delivery of a certain log type.- Returns:
this
-
providedFields
Sets the value ofRecordFieldDeliveryProps.getProvidedFields()- Parameters:
providedFields- RecordFields the user has defined to be used in log delivery.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DeliveryProps>- Returns:
- a new instance of
DeliveryProps - Throws:
NullPointerException- if any required attribute was not provided
-