public ListProfileTimesResult withProfileTimes(ProfileTime... profileTimes) {
        if (this.profileTimes == null) {
            setProfileTimes(new java.util.ArrayList<ProfileTime>(profileTimes.length));
        }
        for (ProfileTime ele : profileTimes) {
            this.profileTimes.add(ele);
        }
        return this;
    }
<p>
The list of start times of the available profiles for the aggregation period in the specified time range.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setProfileTimes(java.util.Collection)} or {@link #withProfileTimes(java.util.Collection)} if you want to
override the existing values.
</p>

@param profileTimes
       The list of start times of the available profiles for the aggregation period in the specified time range.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/model/ListProfileTimesResult.java