@Generated(value="software.amazon.awssdk:codegen") public final class GetRecommendationsRequest extends CodeGuruProfilerRequest implements ToCopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>
The structure representing the GetRecommendationsRequest.
Modifier and Type | Class and Description |
---|---|
static interface |
GetRecommendationsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetRecommendationsRequest.Builder |
builder() |
Instant |
endTime()
The start time of the profile to get analysis data about.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
locale()
The language used to provide analysis.
|
String |
profilingGroupName()
The name of the profiling group to get analysis data about.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRecommendationsRequest.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The end time of the profile to get analysis data about.
|
GetRecommendationsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
copy
public final Instant 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.
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 final String locale()
The language used to provide analysis. Specify using a string that is one of the following BCP 47
language codes.
de-DE
- German, Germany
en-GB
- English, United Kingdom
en-US
- English, United States
es-ES
- Spanish, Spain
fr-FR
- French, France
it-IT
- Italian, Italy
ja-JP
- Japanese, Japan
ko-KR
- Korean, Republic of Korea
pt-BR
- Portugese, Brazil
zh-CN
- Chinese, China
zh-TW
- Chinese, Taiwan
BCP 47
language codes.
de-DE
- German, Germany
en-GB
- English, United Kingdom
en-US
- English, United States
es-ES
- Spanish, Spain
fr-FR
- French, France
it-IT
- Italian, Italy
ja-JP
- Japanese, Japan
ko-KR
- Korean, Republic of Korea
pt-BR
- Portugese, Brazil
zh-CN
- Chinese, China
zh-TW
- Chinese, Taiwan
public final String profilingGroupName()
The name of the profiling group to get analysis data about.
public final Instant startTime()
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.
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 GetRecommendationsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>
toBuilder
in class CodeGuruProfilerRequest
public static GetRecommendationsRequest.Builder builder()
public static Class<? extends GetRecommendationsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.