Class FirehoseDeliveryDestinationProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.logs.FirehoseDeliveryDestinationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FirehoseDeliveryDestinationProps>
- Enclosing interface:
FirehoseDeliveryDestinationProps
@Stability(Experimental)
public static final class FirehoseDeliveryDestinationProps.Builder
extends Object
implements software.amazon.jsii.Builder<FirehoseDeliveryDestinationProps>
A builder for
FirehoseDeliveryDestinationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deliveryStream(IDeliveryStreamRef deliveryStream) Sets the value ofFirehoseDeliveryDestinationProps.getDeliveryStream()outputFormat(String outputFormat) Sets the value ofFirehoseDeliveryDestinationProps.getOutputFormat()sourceAccountId(String sourceAccountId) Sets the value ofFirehoseDeliveryDestinationProps.getSourceAccountId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryStream
@Stability(Experimental) public FirehoseDeliveryDestinationProps.Builder deliveryStream(IDeliveryStreamRef deliveryStream) Sets the value ofFirehoseDeliveryDestinationProps.getDeliveryStream()- Parameters:
deliveryStream- Delivery stream to delivery logs to. This parameter is required.- Returns:
this
-
outputFormat
@Stability(Experimental) public FirehoseDeliveryDestinationProps.Builder outputFormat(String outputFormat) Sets the value ofFirehoseDeliveryDestinationProps.getOutputFormat()- Parameters:
outputFormat- Format of the logs that are sent to this delivery destination.- Returns:
this
-
sourceAccountId
@Stability(Experimental) public FirehoseDeliveryDestinationProps.Builder sourceAccountId(String sourceAccountId) Sets the value ofFirehoseDeliveryDestinationProps.getSourceAccountId()- Parameters:
sourceAccountId- Optional acount id for account the delivery source is in for cross account Vended Logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FirehoseDeliveryDestinationProps>- Returns:
- a new instance of
FirehoseDeliveryDestinationProps - Throws:
NullPointerException- if any required attribute was not provided
-