Class CfnDeliverySourceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnDeliverySourceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliverySourceMixinProps>
- Enclosing interface:
CfnDeliverySourceMixinProps
@Stability(Stable)
public static final class CfnDeliverySourceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliverySourceMixinProps>
A builder for
CfnDeliverySourceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeliverySourceMixinProps.getLogType()Sets the value ofCfnDeliverySourceMixinProps.getName()resourceArn(String resourceArn) Sets the value ofCfnDeliverySourceMixinProps.getResourceArn()Sets the value ofCfnDeliverySourceMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logType
Sets the value ofCfnDeliverySourceMixinProps.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
-
name
Sets the value ofCfnDeliverySourceMixinProps.getName()- Parameters:
name- The unique name of the delivery source.- Returns:
this
-
resourceArn
Sets the value ofCfnDeliverySourceMixinProps.getResourceArn()- Parameters:
resourceArn- The ARN of the AWS resource that is generating and sending logs. For example,arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234- Returns:
this
-
tags
Sets the value ofCfnDeliverySourceMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to the delivery source. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliverySourceMixinProps>- Returns:
- a new instance of
CfnDeliverySourceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-