/* * 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.codeguruprofiler.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *

* The structure representing the GetRecommendationsRequest. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetRecommendationsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The start time of the profile to get analysis data about. You must specify startTime and * endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z * represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. *

*/ private java.util.Date endTime; /** *

* The language used to provide analysis. Specify using a string that is one of the following BCP 47 * language codes. *

* */ private String locale; /** *

* The name of the profiling group to get analysis data about. *

*/ private String profilingGroupName; /** *

* The end time of the profile to get analysis data about. You must specify startTime and * endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z * represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. *

*/ private java.util.Date startTime; /** *

* The start time of the profile to get analysis data about. You must specify startTime and * endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z * represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. *

* * @param endTime * The start time of the profile to get analysis data about. You must specify startTime and * endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z * represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. */ public void setEndTime(java.util.Date endTime) { this.endTime = endTime; } /** *

* The start time of the profile to get analysis data about. You must specify startTime and * endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z * represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. *

* * @return The start time of the profile to get analysis data about. You must specify startTime and * endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z * represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. */ public java.util.Date getEndTime() { return this.endTime; } /** *

* The start time of the profile to get analysis data about. You must specify startTime and * endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z * represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. *

* * @param endTime * The start time of the profile to get analysis data about. You must specify startTime and * endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z * represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRecommendationsRequest withEndTime(java.util.Date endTime) { setEndTime(endTime); return this; } /** *

* The language used to provide analysis. Specify using a string that is one of the following BCP 47 * language codes. *

* * * @param locale * The language used to provide analysis. Specify using a string that is one of the following * BCP 47 language codes.

*