@Generated(value="software.amazon.awssdk:codegen") public final class GetEc2RecommendationProjectedMetricsRequest extends ComputeOptimizerRequest implements ToCopyableBuilder<GetEc2RecommendationProjectedMetricsRequest.Builder,GetEc2RecommendationProjectedMetricsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetEc2RecommendationProjectedMetricsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetEc2RecommendationProjectedMetricsRequest.Builder |
builder() |
Instant |
endTime()
The timestamp of the last projected metrics data point to return.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceArn()
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
|
Integer |
period()
The granularity, in seconds, of the projected metrics data points.
|
RecommendationPreferences |
recommendationPreferences()
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the
response.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetEc2RecommendationProjectedMetricsRequest.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The timestamp of the first projected metrics data point to return.
|
MetricStatistic |
stat()
The statistic of the projected metrics.
|
String |
statAsString()
The statistic of the projected metrics.
|
GetEc2RecommendationProjectedMetricsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String instanceArn()
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
public final MetricStatistic stat()
The statistic of the projected metrics.
If the service returns an enum value that is not available in the current SDK version, stat will return
MetricStatistic.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statAsString().
MetricStatisticpublic final String statAsString()
The statistic of the projected metrics.
If the service returns an enum value that is not available in the current SDK version, stat will return
MetricStatistic.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statAsString().
MetricStatisticpublic final Integer period()
The granularity, in seconds, of the projected metrics data points.
public final Instant startTime()
The timestamp of the first projected metrics data point to return.
public final Instant endTime()
The timestamp of the last projected metrics data point to return.
public final RecommendationPreferences recommendationPreferences()
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
public GetEc2RecommendationProjectedMetricsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetEc2RecommendationProjectedMetricsRequest.Builder,GetEc2RecommendationProjectedMetricsRequest>toBuilder in class ComputeOptimizerRequestpublic static GetEc2RecommendationProjectedMetricsRequest.Builder builder()
public static Class<? extends GetEc2RecommendationProjectedMetricsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.