/* * 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.simpleemailv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* An object that contains information about the volume of email sent on each day of the analysis period. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DailyVolume implements Serializable, Cloneable, StructuredPojo { /** ** The date that the DailyVolume metrics apply to, in Unix time. *
*/ private java.util.Date startDate; /** ** An object that contains inbox placement metrics for a specific day in the analysis period. *
*/ private VolumeStatistics volumeStatistics; /** ** An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the * recipient's email provider. *
*/ private java.util.List* The date that the DailyVolume metrics apply to, in Unix time. *
* * @param startDate * The date that the DailyVolume metrics apply to, in Unix time. */ public void setStartDate(java.util.Date startDate) { this.startDate = startDate; } /** ** The date that the DailyVolume metrics apply to, in Unix time. *
* * @return The date that the DailyVolume metrics apply to, in Unix time. */ public java.util.Date getStartDate() { return this.startDate; } /** ** The date that the DailyVolume metrics apply to, in Unix time. *
* * @param startDate * The date that the DailyVolume metrics apply to, in Unix time. * @return Returns a reference to this object so that method calls can be chained together. */ public DailyVolume withStartDate(java.util.Date startDate) { setStartDate(startDate); return this; } /** ** An object that contains inbox placement metrics for a specific day in the analysis period. *
* * @param volumeStatistics * An object that contains inbox placement metrics for a specific day in the analysis period. */ public void setVolumeStatistics(VolumeStatistics volumeStatistics) { this.volumeStatistics = volumeStatistics; } /** ** An object that contains inbox placement metrics for a specific day in the analysis period. *
* * @return An object that contains inbox placement metrics for a specific day in the analysis period. */ public VolumeStatistics getVolumeStatistics() { return this.volumeStatistics; } /** ** An object that contains inbox placement metrics for a specific day in the analysis period. *
* * @param volumeStatistics * An object that contains inbox placement metrics for a specific day in the analysis period. * @return Returns a reference to this object so that method calls can be chained together. */ public DailyVolume withVolumeStatistics(VolumeStatistics volumeStatistics) { setVolumeStatistics(volumeStatistics); return this; } /** ** An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the * recipient's email provider. *
* * @return An object that contains inbox placement metrics for a specified day in the analysis period, broken out by * the recipient's email provider. */ public java.util.List* An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the * recipient's email provider. *
* * @param domainIspPlacements * An object that contains inbox placement metrics for a specified day in the analysis period, broken out by * the recipient's email provider. */ public void setDomainIspPlacements(java.util.Collection* An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the * recipient's email provider. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDomainIspPlacements(java.util.Collection)} or {@link #withDomainIspPlacements(java.util.Collection)} * if you want to override the existing values. *
* * @param domainIspPlacements * An object that contains inbox placement metrics for a specified day in the analysis period, broken out by * the recipient's email provider. * @return Returns a reference to this object so that method calls can be chained together. */ public DailyVolume withDomainIspPlacements(DomainIspPlacement... domainIspPlacements) { if (this.domainIspPlacements == null) { setDomainIspPlacements(new java.util.ArrayList* An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the * recipient's email provider. *
* * @param domainIspPlacements * An object that contains inbox placement metrics for a specified day in the analysis period, broken out by * the recipient's email provider. * @return Returns a reference to this object so that method calls can be chained together. */ public DailyVolume withDomainIspPlacements(java.util.Collection