@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchDestination extends Object implements Serializable, Cloneable, StructuredPojo
An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.
| Constructor and Description |
|---|
CloudWatchDestination() |
| Modifier and Type | Method and Description |
|---|---|
CloudWatchDestination |
clone() |
boolean |
equals(Object obj) |
List<CloudWatchDimensionConfiguration> |
getDimensionConfigurations()
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDimensionConfigurations(Collection<CloudWatchDimensionConfiguration> dimensionConfigurations)
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchDestination |
withDimensionConfigurations(CloudWatchDimensionConfiguration... dimensionConfigurations)
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
|
CloudWatchDestination |
withDimensionConfigurations(Collection<CloudWatchDimensionConfiguration> dimensionConfigurations)
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
|
public List<CloudWatchDimensionConfiguration> getDimensionConfigurations()
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
public void setDimensionConfigurations(Collection<CloudWatchDimensionConfiguration> dimensionConfigurations)
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
dimensionConfigurations - An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.public CloudWatchDestination withDimensionConfigurations(CloudWatchDimensionConfiguration... dimensionConfigurations)
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
NOTE: This method appends the values to the existing list (if any). Use
setDimensionConfigurations(java.util.Collection) or
withDimensionConfigurations(java.util.Collection) if you want to override the existing values.
dimensionConfigurations - An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.public CloudWatchDestination withDimensionConfigurations(Collection<CloudWatchDimensionConfiguration> dimensionConfigurations)
An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
dimensionConfigurations - An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.public String toString()
toString in class ObjectObject.toString()public CloudWatchDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.