@Generated(value="software.amazon.awssdk:codegen") public final class GetEcsServiceRecommendationProjectedMetricsRequest extends ComputeOptimizerRequest implements ToCopyableBuilder<GetEcsServiceRecommendationProjectedMetricsRequest.Builder,GetEcsServiceRecommendationProjectedMetricsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetEcsServiceRecommendationProjectedMetricsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetEcsServiceRecommendationProjectedMetricsRequest.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() |
Integer |
period()
The granularity, in seconds, of the projected metrics data points.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetEcsServiceRecommendationProjectedMetricsRequest.Builder> |
serializableBuilderClass() |
String |
serviceArn()
The ARN that identifies the Amazon ECS service.
|
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.
|
GetEcsServiceRecommendationProjectedMetricsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String serviceArn()
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
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 GetEcsServiceRecommendationProjectedMetricsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetEcsServiceRecommendationProjectedMetricsRequest.Builder,GetEcsServiceRecommendationProjectedMetricsRequest>toBuilder in class ComputeOptimizerRequestpublic static GetEcsServiceRecommendationProjectedMetricsRequest.Builder builder()
public static Class<? extends GetEcsServiceRecommendationProjectedMetricsRequest.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.