/* * 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.pinpointemail.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Information about a configuration set. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetConfigurationSetResult extends com.amazonaws.AmazonWebServiceResult* The name of the configuration set. *
*/ private String configurationSetName; /** ** An object that defines the open and click tracking options for emails that you send using the configuration set. *
*/ private TrackingOptions trackingOptions; /** ** An object that defines the dedicated IP pool that is used to send emails that you send using the configuration * set. *
*/ private DeliveryOptions deliveryOptions; /** ** An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send * that use the configuration set. *
*/ private ReputationOptions reputationOptions; /** ** An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set. *
*/ private SendingOptions sendingOptions; /** ** An array of objects that define the tags (keys and values) that are associated with the configuration set. *
*/ private java.util.List* The name of the configuration set. *
* * @param configurationSetName * The name of the configuration set. */ public void setConfigurationSetName(String configurationSetName) { this.configurationSetName = configurationSetName; } /** ** The name of the configuration set. *
* * @return The name of the configuration set. */ public String getConfigurationSetName() { return this.configurationSetName; } /** ** The name of the configuration set. *
* * @param configurationSetName * The name of the configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public GetConfigurationSetResult withConfigurationSetName(String configurationSetName) { setConfigurationSetName(configurationSetName); return this; } /** ** An object that defines the open and click tracking options for emails that you send using the configuration set. *
* * @param trackingOptions * An object that defines the open and click tracking options for emails that you send using the * configuration set. */ public void setTrackingOptions(TrackingOptions trackingOptions) { this.trackingOptions = trackingOptions; } /** ** An object that defines the open and click tracking options for emails that you send using the configuration set. *
* * @return An object that defines the open and click tracking options for emails that you send using the * configuration set. */ public TrackingOptions getTrackingOptions() { return this.trackingOptions; } /** ** An object that defines the open and click tracking options for emails that you send using the configuration set. *
* * @param trackingOptions * An object that defines the open and click tracking options for emails that you send using the * configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public GetConfigurationSetResult withTrackingOptions(TrackingOptions trackingOptions) { setTrackingOptions(trackingOptions); return this; } /** ** An object that defines the dedicated IP pool that is used to send emails that you send using the configuration * set. *
* * @param deliveryOptions * An object that defines the dedicated IP pool that is used to send emails that you send using the * configuration set. */ public void setDeliveryOptions(DeliveryOptions deliveryOptions) { this.deliveryOptions = deliveryOptions; } /** ** An object that defines the dedicated IP pool that is used to send emails that you send using the configuration * set. *
* * @return An object that defines the dedicated IP pool that is used to send emails that you send using the * configuration set. */ public DeliveryOptions getDeliveryOptions() { return this.deliveryOptions; } /** ** An object that defines the dedicated IP pool that is used to send emails that you send using the configuration * set. *
* * @param deliveryOptions * An object that defines the dedicated IP pool that is used to send emails that you send using the * configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public GetConfigurationSetResult withDeliveryOptions(DeliveryOptions deliveryOptions) { setDeliveryOptions(deliveryOptions); return this; } /** ** An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send * that use the configuration set. *
* * @param reputationOptions * An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you * send that use the configuration set. */ public void setReputationOptions(ReputationOptions reputationOptions) { this.reputationOptions = reputationOptions; } /** ** An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send * that use the configuration set. *
* * @return An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you * send that use the configuration set. */ public ReputationOptions getReputationOptions() { return this.reputationOptions; } /** ** An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send * that use the configuration set. *
* * @param reputationOptions * An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you * send that use the configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public GetConfigurationSetResult withReputationOptions(ReputationOptions reputationOptions) { setReputationOptions(reputationOptions); return this; } /** ** An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set. *
* * @param sendingOptions * An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration * set. */ public void setSendingOptions(SendingOptions sendingOptions) { this.sendingOptions = sendingOptions; } /** ** An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set. *
* * @return An object that defines whether or not Amazon Pinpoint can send email that you send using the * configuration set. */ public SendingOptions getSendingOptions() { return this.sendingOptions; } /** ** An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set. *
* * @param sendingOptions * An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration * set. * @return Returns a reference to this object so that method calls can be chained together. */ public GetConfigurationSetResult withSendingOptions(SendingOptions sendingOptions) { setSendingOptions(sendingOptions); return this; } /** ** An array of objects that define the tags (keys and values) that are associated with the configuration set. *
* * @return An array of objects that define the tags (keys and values) that are associated with the configuration * set. */ public java.util.List* An array of objects that define the tags (keys and values) that are associated with the configuration set. *
* * @param tags * An array of objects that define the tags (keys and values) that are associated with the configuration set. */ public void setTags(java.util.Collection* An array of objects that define the tags (keys and values) that are associated with the configuration set. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * An array of objects that define the tags (keys and values) that are associated with the configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public GetConfigurationSetResult withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* An array of objects that define the tags (keys and values) that are associated with the configuration set. *
* * @param tags * An array of objects that define the tags (keys and values) that are associated with the configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public GetConfigurationSetResult withTags(java.util.Collection