Class CfnConfigurationSetEventDestination.DimensionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnConfigurationSetEventDestination.DimensionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetEventDestination.DimensionConfigurationProperty>
- Enclosing interface:
- CfnConfigurationSetEventDestination.DimensionConfigurationProperty
@Stability(Stable)
public static final class CfnConfigurationSetEventDestination.DimensionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetEventDestination.DimensionConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultDimensionValue
(String defaultDimensionValue) dimensionName
(String dimensionName) dimensionValueSource
(String dimensionValueSource)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultDimensionValue
@Stability(Stable) public CfnConfigurationSetEventDestination.DimensionConfigurationProperty.Builder defaultDimensionValue(String defaultDimensionValue) Sets the value ofCfnConfigurationSetEventDestination.DimensionConfigurationProperty.getDefaultDimensionValue()
- Parameters:
defaultDimensionValue
- The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. This parameter is required. The default value must meet the following requirements:- Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), at signs (@), or periods (.).
- Contain 256 characters or fewer.
- Returns:
this
-
dimensionName
@Stability(Stable) public CfnConfigurationSetEventDestination.DimensionConfigurationProperty.Builder dimensionName(String dimensionName) Sets the value ofCfnConfigurationSetEventDestination.DimensionConfigurationProperty.getDimensionName()
- Parameters:
dimensionName
- The name of an Amazon CloudWatch dimension associated with an email sending metric. This parameter is required. The name must meet the following requirements:- Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), or colons (:).
- Contain 256 characters or fewer.
- Returns:
this
-
dimensionValueSource
@Stability(Stable) public CfnConfigurationSetEventDestination.DimensionConfigurationProperty.Builder dimensionValueSource(String dimensionValueSource) Sets the value ofCfnConfigurationSetEventDestination.DimensionConfigurationProperty.getDimensionValueSource()
- Parameters:
dimensionValueSource
- The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. This parameter is required. To use the message tags that you specify using anX-SES-MESSAGE-TAGS
header or a parameter to theSendEmail
/SendRawEmail
API, specifymessageTag
. To use your own email headers, specifyemailHeader
. To put a custom tag on any link included in your email, specifylinkTag
.- Returns:
this
-
build
@Stability(Stable) public CfnConfigurationSetEventDestination.DimensionConfigurationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetEventDestination.DimensionConfigurationProperty>
- Returns:
- a new instance of
CfnConfigurationSetEventDestination.DimensionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-