Class CloudwatchDeliveryDestination.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.logs.CloudwatchDeliveryDestination.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudwatchDeliveryDestination>
- Enclosing class:
CloudwatchDeliveryDestination
@Stability(Experimental)
public static final class CloudwatchDeliveryDestination.Builder
extends Object
implements software.amazon.jsii.Builder<CloudwatchDeliveryDestination>
(experimental) A fluent builder for
CloudwatchDeliveryDestination.-
Method Summary
Modifier and TypeMethodDescriptionbuild()logGroup(ILogGroupRef logGroup) (experimental) Log group to deliver logs to.outputFormat(String outputFormat) (experimental) Format of the logs that are sent to this delivery destination.
-
Method Details
-
create
@Stability(Experimental) public static CloudwatchDeliveryDestination.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
CloudwatchDeliveryDestination.Builder.
-
logGroup
@Stability(Experimental) public CloudwatchDeliveryDestination.Builder logGroup(ILogGroupRef logGroup) (experimental) Log group to deliver logs to.- Parameters:
logGroup- Log group to deliver logs to. This parameter is required.- Returns:
this
-
outputFormat
@Stability(Experimental) public CloudwatchDeliveryDestination.Builder outputFormat(String outputFormat) (experimental) Format of the logs that are sent to this delivery destination.- Parameters:
outputFormat- Format of the logs that are sent to this delivery destination. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudwatchDeliveryDestination>- Returns:
- a newly built instance of
CloudwatchDeliveryDestination.
-