/* * 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; import com.amazonaws.AmazonWebServiceRequest; /** *
* Deletes an association between a configuration set and a custom domain for * open and click event tracking. *
** By default, images and links used for tracking open and click events are * hosted on domains operated by Amazon SES. You can configure a subdomain of * your own to handle these events. For information about using custom domains, * see the Amazon SES Developer Guide. *
** Deleting this kind of association will result in emails sent using the * specified configuration set to capture open and click events using the * standard, Amazon SES-operated domains. *
** The name of the configuration set from which you want to delete the * tracking options. *
*/ private String configurationSetName; /** ** The name of the configuration set from which you want to delete the * tracking options. *
* * @return* The name of the configuration set from which you want to delete * the tracking options. *
*/ public String getConfigurationSetName() { return configurationSetName; } /** ** The name of the configuration set from which you want to delete the * tracking options. *
* * @param configurationSetName* The name of the configuration set from which you want to * delete the tracking options. *
*/ public void setConfigurationSetName(String configurationSetName) { this.configurationSetName = configurationSetName; } /** ** The name of the configuration set from which you want to delete the * tracking options. *
** Returns a reference to this object so that method calls can be chained * together. * * @param configurationSetName
* The name of the configuration set from which you want to * delete the tracking options. *
* @return A reference to this updated object so that method calls can be * chained together. */ public DeleteConfigurationSetTrackingOptionsRequest withConfigurationSetName( String configurationSetName) { this.configurationSetName = configurationSetName; return this; } /** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getConfigurationSetName() != null) sb.append("ConfigurationSetName: " + getConfigurationSetName()); sb.append("}"); return sb.toString(); } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getConfigurationSetName() == null) ? 0 : getConfigurationSetName().hashCode()); return hashCode; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeleteConfigurationSetTrackingOptionsRequest == false) return false; DeleteConfigurationSetTrackingOptionsRequest other = (DeleteConfigurationSetTrackingOptionsRequest) obj; if (other.getConfigurationSetName() == null ^ this.getConfigurationSetName() == null) return false; if (other.getConfigurationSetName() != null && other.getConfigurationSetName().equals(this.getConfigurationSetName()) == false) return false; return true; } }