/* * Copyright 2018-2023 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; import javax.annotation.Generated; /** *

* Contains information about the event destination that the specified email sending events will be published to. *

* *

* When you create or update an event destination, you must provide one, and only one, destination. The destination can * be Amazon CloudWatch, Amazon Kinesis Firehose or Amazon Simple Notification Service (Amazon SNS). *

*
*

* Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon * CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using * configuration sets, see the Amazon SES Developer * Guide. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class EventDestination implements Serializable, Cloneable { /** *

* The name of the event destination. The name must: *

* */ private String name; /** *

* Sets whether Amazon SES publishes events to this destination when you send an email with the associated * configuration set. Set to true to enable publishing to this destination; set to false * to prevent publishing to this destination. The default value is false. *

*/ private Boolean enabled; /** *

* The type of email sending events to publish to the event destination. *

*/ private com.amazonaws.internal.SdkInternalList matchingEventTypes; /** *

* An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose * event destination. *

*/ private KinesisFirehoseDestination kinesisFirehoseDestination; /** *

* An object that contains the names, default values, and sources of the dimensions associated with an Amazon * CloudWatch event destination. *

*/ private CloudWatchDestination cloudWatchDestination; /** *

* An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event * destination. *

*/ private SNSDestination sNSDestination; /** *

* The name of the event destination. The name must: *

* * * @param name * The name of the event destination. The name must:

*