/* * 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; /** *
* An object that includes statistics that are related to the domain that you specified. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetDomainStatisticsReportResult extends com.amazonaws.AmazonWebServiceResult
     * An object that contains deliverability metrics for the domain that you specified. The data in this object is a
     * summary of all of the data that was collected from the StartDate to the EndDate.
     * 
     * An object that contains deliverability metrics for the domain that you specified. This object contains data for
     * each day, starting on the StartDate and ending on the EndDate.
     * 
     * An object that contains deliverability metrics for the domain that you specified. The data in this object is a
     * summary of all of the data that was collected from the StartDate to the EndDate.
     * 
StartDate to the
     *        EndDate.
     */
    public void setOverallVolume(OverallVolume overallVolume) {
        this.overallVolume = overallVolume;
    }
    /**
     * 
     * An object that contains deliverability metrics for the domain that you specified. The data in this object is a
     * summary of all of the data that was collected from the StartDate to the EndDate.
     * 
StartDate to the
     *         EndDate.
     */
    public OverallVolume getOverallVolume() {
        return this.overallVolume;
    }
    /**
     * 
     * An object that contains deliverability metrics for the domain that you specified. The data in this object is a
     * summary of all of the data that was collected from the StartDate to the EndDate.
     * 
StartDate to the
     *        EndDate.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public GetDomainStatisticsReportResult withOverallVolume(OverallVolume overallVolume) {
        setOverallVolume(overallVolume);
        return this;
    }
    /**
     * 
     * An object that contains deliverability metrics for the domain that you specified. This object contains data for
     * each day, starting on the StartDate and ending on the EndDate.
     * 
StartDate and ending on the EndDate.
     */
    public java.util.List
     * An object that contains deliverability metrics for the domain that you specified. This object contains data for
     * each day, starting on the StartDate and ending on the EndDate.
     * 
StartDate and ending on the EndDate.
     */
    public void setDailyVolumes(java.util.Collection
     * An object that contains deliverability metrics for the domain that you specified. This object contains data for
     * each day, starting on the StartDate and ending on the EndDate.
     * 
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setDailyVolumes(java.util.Collection)} or {@link #withDailyVolumes(java.util.Collection)} if you want to * override the existing values. *
* * @param dailyVolumes * An object that contains deliverability metrics for the domain that you specified. This object contains * data for each day, starting on theStartDate and ending on the EndDate.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public GetDomainStatisticsReportResult withDailyVolumes(DailyVolume... dailyVolumes) {
        if (this.dailyVolumes == null) {
            setDailyVolumes(new java.util.ArrayList
     * An object that contains deliverability metrics for the domain that you specified. This object contains data for
     * each day, starting on the StartDate and ending on the EndDate.
     * 
StartDate and ending on the EndDate.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public GetDomainStatisticsReportResult withDailyVolumes(java.util.Collection