Class CloudWatchDimension.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CloudWatchDimension.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudWatchDimension>
- Enclosing interface:
CloudWatchDimension
@Stability(Stable)
public static final class CloudWatchDimension.Builder
extends Object
implements software.amazon.jsii.Builder<CloudWatchDimension>
A builder for
CloudWatchDimension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultValue
(String defaultValue) Sets the value ofCloudWatchDimension.getDefaultValue()
Sets the value ofCloudWatchDimension.getName()
source
(CloudWatchDimensionSource source) Sets the value ofCloudWatchDimension.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultValue
Sets the value ofCloudWatchDimension.getDefaultValue()
- Parameters:
defaultValue
- 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.- Returns:
this
-
name
Sets the value ofCloudWatchDimension.getName()
- Parameters:
name
- The name of an Amazon CloudWatch dimension associated with an email sending metric. This parameter is required.- Returns:
this
-
source
Sets the value ofCloudWatchDimension.getSource()
- Parameters:
source
- The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CloudWatchDimension>
- Returns:
- a new instance of
CloudWatchDimension
- Throws:
NullPointerException
- if any required attribute was not provided
-