Class CfnDeliveryProps.Builder
java.lang.Object
software.amazon.awscdk.services.logs.CfnDeliveryProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryProps>
- Enclosing interface:
CfnDeliveryProps
@Stability(Stable)
public static final class CfnDeliveryProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryProps>
A builder for
CfnDeliveryProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deliveryDestinationArn(String deliveryDestinationArn) Sets the value ofCfnDeliveryProps.getDeliveryDestinationArn()deliverySourceName(String deliverySourceName) Sets the value ofCfnDeliveryProps.getDeliverySourceName()Sets the value ofCfnDeliveryProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryDestinationArn
@Stability(Stable) public CfnDeliveryProps.Builder deliveryDestinationArn(String deliveryDestinationArn) Sets the value ofCfnDeliveryProps.getDeliveryDestinationArn()- Parameters:
deliveryDestinationArn- The ARN of the delivery destination that is associated with this delivery. This parameter is required.- Returns:
this
-
deliverySourceName
Sets the value ofCfnDeliveryProps.getDeliverySourceName()- Parameters:
deliverySourceName- The name of the delivery source that is associated with this delivery. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnDeliveryProps.getTags()- Parameters:
tags- The tags that have been assigned to this delivery.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryProps>- Returns:
- a new instance of
CfnDeliveryProps - Throws:
NullPointerException- if any required attribute was not provided
-