Class CfnDeliverySourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.logs.CfnDeliverySourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliverySourceProps>
- Enclosing interface:
CfnDeliverySourceProps
@Stability(Stable)
public static final class CfnDeliverySourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliverySourceProps>
A builder for
CfnDeliverySourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeliverySourceProps.getLogType()Sets the value ofCfnDeliverySourceProps.getName()resourceArn(String resourceArn) Sets the value ofCfnDeliverySourceProps.getResourceArn()Sets the value ofCfnDeliverySourceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDeliverySourceProps.getName()- Parameters:
name- The unique name of the delivery source. This parameter is required.- Returns:
this
-
logType
Sets the value ofCfnDeliverySourceProps.getLogType()- Parameters:
logType- The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.- Returns:
this
-
resourceArn
Sets the value ofCfnDeliverySourceProps.getResourceArn()- Parameters:
resourceArn- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.- Returns:
this
-
tags
Sets the value ofCfnDeliverySourceProps.getTags()- Parameters:
tags- The tags that have been assigned to this delivery source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliverySourceProps>- Returns:
- a new instance of
CfnDeliverySourceProps - Throws:
NullPointerException- if any required attribute was not provided
-