/* * 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 information associated with an Amazon CloudWatch event destination * to which email sending events are published. *
** Event destinations, such as Amazon CloudWatch, are associated with * configuration sets, which enable you to publish email sending events. For * information about using configuration sets, see the Amazon SES Developer Guide. *
*/ public class CloudWatchDestination implements Serializable { /** ** A list of dimensions upon which to categorize your emails when you * publish email sending events to Amazon CloudWatch. *
*/ private java.util.List* A list of dimensions upon which to categorize your emails when you * publish email sending events to Amazon CloudWatch. *
* * @return* A list of dimensions upon which to categorize your emails when * you publish email sending events to Amazon CloudWatch. *
*/ public java.util.List* A list of dimensions upon which to categorize your emails when you * publish email sending events to Amazon CloudWatch. *
* * @param dimensionConfigurations* A list of dimensions upon which to categorize your emails when * you publish email sending events to Amazon CloudWatch. *
*/ public void setDimensionConfigurations( java.util.Collection* A list of dimensions upon which to categorize your emails when you * publish email sending events to Amazon CloudWatch. *
** Returns a reference to this object so that method calls can be chained * together. * * @param dimensionConfigurations
* A list of dimensions upon which to categorize your emails when * you publish email sending events to Amazon CloudWatch. *
* @return A reference to this updated object so that method calls can be * chained together. */ public CloudWatchDestination withDimensionConfigurations( CloudWatchDimensionConfiguration... dimensionConfigurations) { if (getDimensionConfigurations() == null) { this.dimensionConfigurations = new java.util.ArrayList* A list of dimensions upon which to categorize your emails when you * publish email sending events to Amazon CloudWatch. *
** Returns a reference to this object so that method calls can be chained * together. * * @param dimensionConfigurations
* A list of dimensions upon which to categorize your emails when * you publish email sending events to Amazon CloudWatch. *
* @return A reference to this updated object so that method calls can be * chained together. */ public CloudWatchDestination withDimensionConfigurations( java.util.Collection