/* * Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.simpleemail.model; import java.io.Serializable; /** *
* Contains the dimension configuration to use when you publish email sending * events to Amazon CloudWatch. *
** For information about publishing email sending events to Amazon CloudWatch, * see the Amazon SES Developer Guide. *
*/ public class CloudWatchDimensionConfiguration implements Serializable { /** ** The name of an Amazon CloudWatch dimension associated with an email * sending metric. The name must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), * underscores (_), or dashes (-). *
** Contain less than 256 characters. *
*
* The place where Amazon SES finds the value of a dimension to publish to
* Amazon CloudWatch. If you want Amazon SES to use the message tags that
* you specify using an X-SES-MESSAGE-TAGS
header or a
* parameter to the SendEmail
/SendRawEmail
API,
* choose messageTag
. If you want Amazon SES to use your own
* email headers, choose emailHeader
.
*
* Constraints:
* Allowed Values: messageTag, emailHeader, linkTag
*/
private String dimensionValueSource;
/**
*
* 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. * The default value must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), * underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** The name of an Amazon CloudWatch dimension associated with an email * sending metric. The name must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), * underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** The name of an Amazon CloudWatch dimension associated with an * email sending metric. The name must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers * (0-9), underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** The name of an Amazon CloudWatch dimension associated with an email * sending metric. The name must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), * underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** The name of an Amazon CloudWatch dimension associated with an * email sending metric. The name must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers * (0-9), underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** The name of an Amazon CloudWatch dimension associated with an email * sending metric. The name must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), * underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** Returns a reference to this object so that method calls can be chained * together. * * @param dimensionName
* The name of an Amazon CloudWatch dimension associated with an * email sending metric. The name must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers * (0-9), underscores (_), or dashes (-). *
** Contain less than 256 characters. *
*
* The place where Amazon SES finds the value of a dimension to publish to
* Amazon CloudWatch. If you want Amazon SES to use the message tags that
* you specify using an X-SES-MESSAGE-TAGS
header or a
* parameter to the SendEmail
/SendRawEmail
API,
* choose messageTag
. If you want Amazon SES to use your own
* email headers, choose emailHeader
.
*
* Constraints:
* Allowed Values: messageTag, emailHeader, linkTag
*
* @return
* The place where Amazon SES finds the value of a dimension to
* publish to Amazon CloudWatch. If you want Amazon SES to use the
* message tags that you specify using an
* X-SES-MESSAGE-TAGS
header or a parameter to the
* SendEmail
/SendRawEmail
API, choose
* messageTag
. If you want Amazon SES to use your own
* email headers, choose emailHeader
.
*
* The place where Amazon SES finds the value of a dimension to publish to
* Amazon CloudWatch. If you want Amazon SES to use the message tags that
* you specify using an X-SES-MESSAGE-TAGS
header or a
* parameter to the SendEmail
/SendRawEmail
API,
* choose messageTag
. If you want Amazon SES to use your own
* email headers, choose emailHeader
.
*
* Constraints:
* Allowed Values: messageTag, emailHeader, linkTag
*
* @param dimensionValueSource
* The place where Amazon SES finds the value of a dimension to
* publish to Amazon CloudWatch. If you want Amazon SES to use
* the message tags that you specify using an
* X-SES-MESSAGE-TAGS
header or a parameter to the
* SendEmail
/SendRawEmail
API, choose
* messageTag
. If you want Amazon SES to use your
* own email headers, choose emailHeader
.
*
* The place where Amazon SES finds the value of a dimension to publish to
* Amazon CloudWatch. If you want Amazon SES to use the message tags that
* you specify using an X-SES-MESSAGE-TAGS
header or a
* parameter to the SendEmail
/SendRawEmail
API,
* choose messageTag
. If you want Amazon SES to use your own
* email headers, choose emailHeader
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: messageTag, emailHeader, linkTag
*
* @param dimensionValueSource
* The place where Amazon SES finds the value of a dimension to
* publish to Amazon CloudWatch. If you want Amazon SES to use
* the message tags that you specify using an
* X-SES-MESSAGE-TAGS
header or a parameter to the
* SendEmail
/SendRawEmail
API, choose
* messageTag
. If you want Amazon SES to use your
* own email headers, choose emailHeader
.
*
* The place where Amazon SES finds the value of a dimension to publish to
* Amazon CloudWatch. If you want Amazon SES to use the message tags that
* you specify using an X-SES-MESSAGE-TAGS
header or a
* parameter to the SendEmail
/SendRawEmail
API,
* choose messageTag
. If you want Amazon SES to use your own
* email headers, choose emailHeader
.
*
* Constraints:
* Allowed Values: messageTag, emailHeader, linkTag
*
* @param dimensionValueSource
* The place where Amazon SES finds the value of a dimension to
* publish to Amazon CloudWatch. If you want Amazon SES to use
* the message tags that you specify using an
* X-SES-MESSAGE-TAGS
header or a parameter to the
* SendEmail
/SendRawEmail
API, choose
* messageTag
. If you want Amazon SES to use your
* own email headers, choose emailHeader
.
*
* The place where Amazon SES finds the value of a dimension to publish to
* Amazon CloudWatch. If you want Amazon SES to use the message tags that
* you specify using an X-SES-MESSAGE-TAGS
header or a
* parameter to the SendEmail
/SendRawEmail
API,
* choose messageTag
. If you want Amazon SES to use your own
* email headers, choose emailHeader
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: messageTag, emailHeader, linkTag
*
* @param dimensionValueSource
* The place where Amazon SES finds the value of a dimension to
* publish to Amazon CloudWatch. If you want Amazon SES to use
* the message tags that you specify using an
* X-SES-MESSAGE-TAGS
header or a parameter to the
* SendEmail
/SendRawEmail
API, choose
* messageTag
. If you want Amazon SES to use your
* own email headers, choose emailHeader
.
*
* 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. * The default value must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), * underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** 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. The default value must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers * (0-9), underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** 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. * The default value must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), * underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** 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. The default value must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers * (0-9), underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** 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. * The default value must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), * underscores (_), or dashes (-). *
** Contain less than 256 characters. *
** Returns a reference to this object so that method calls can be chained * together. * * @param 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. The default value must: *
** This value can only contain ASCII letters (a-z, A-Z), numbers * (0-9), underscores (_), or dashes (-). *
** Contain less than 256 characters. *
*