Class CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty>
- Enclosing interface:
CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty
@Stability(Stable)
public static final class CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetEventDestinationPropsMixin.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 CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty.Builder defaultDimensionValue(String defaultDimensionValue) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.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 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 CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty.Builder dimensionName(String dimensionName) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty.getDimensionName()- Parameters:
dimensionName- The name of an Amazon CloudWatch dimension associated with an email sending metric. 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 CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty.Builder dimensionValueSource(String dimensionValueSource) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty.getDimensionValueSource()- Parameters:
dimensionValueSource- The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. To use the message tags that you specify using anX-SES-MESSAGE-TAGSheader or a parameter to theSendEmailorSendRawEmailAPI, choosemessageTag. To use your own email headers, chooseemailHeader. To use link tags, chooselinkTag.- Returns:
this
-
build
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty>- Returns:
- a new instance of
CfnConfigurationSetEventDestinationPropsMixin.DimensionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-