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
Constructors -
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 don't provide the value of the dimension when you send an email. This parameter is required. This value has to meet the following criteria:- Can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-), at signs (@), and periods (.).
- It can contain no more than 256 characters.
- 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 has to meet the following criteria:- It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).
- It can contain no more than 256 characters.
- Returns:
this
-
dimensionValueSource
@Stability(Stable) public CfnConfigurationSetEventDestination.DimensionConfigurationProperty.Builder dimensionValueSource(String dimensionValueSource) Sets the value ofCfnConfigurationSetEventDestination.DimensionConfigurationProperty.getDimensionValueSource()
- Parameters:
dimensionValueSource
- The location where the Amazon SES API v2 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
orSendRawEmail
API, choosemessageTag
. To use your own email headers, chooseemailHeader
. To use link tags, chooselinkTag
.- 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
-