@Generated(value="software.amazon.awssdk:codegen") public final class GetScalingPlanResourceForecastDataRequest extends AutoScalingPlansRequest implements ToCopyableBuilder<GetScalingPlanResourceForecastDataRequest.Builder,GetScalingPlanResourceForecastDataRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetScalingPlanResourceForecastDataRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetScalingPlanResourceForecastDataRequest.Builder |
builder() |
Instant |
endTime()
The exclusive end time of the time range for the forecast data to get.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ForecastDataType |
forecastDataType()
The type of forecast data to get.
|
String |
forecastDataTypeAsString()
The type of forecast data to get.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceId()
The ID of the resource.
|
ScalableDimension |
scalableDimension()
The scalable dimension for the resource.
|
String |
scalableDimensionAsString()
The scalable dimension for the resource.
|
String |
scalingPlanName()
The name of the scaling plan.
|
Long |
scalingPlanVersion()
The version number of the scaling plan.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetScalingPlanResourceForecastDataRequest.Builder> |
serializableBuilderClass() |
ServiceNamespace |
serviceNamespace()
The namespace of the AWS service.
|
String |
serviceNamespaceAsString()
The namespace of the AWS service.
|
Instant |
startTime()
The inclusive start time of the time range for the forecast data to get.
|
GetScalingPlanResourceForecastDataRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String scalingPlanName()
The name of the scaling plan.
public final Long scalingPlanVersion()
The version number of the scaling plan. Currently, the only valid value is 1.
1.public final ServiceNamespace serviceNamespace()
The namespace of the AWS service. The only valid value is autoscaling.
If the service returns an enum value that is not available in the current SDK version, serviceNamespace
will return ServiceNamespace.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from serviceNamespaceAsString().
autoscaling.ServiceNamespacepublic final String serviceNamespaceAsString()
The namespace of the AWS service. The only valid value is autoscaling.
If the service returns an enum value that is not available in the current SDK version, serviceNamespace
will return ServiceNamespace.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from serviceNamespaceAsString().
autoscaling.ServiceNamespacepublic final String resourceId()
The ID of the resource. This string consists of a prefix (autoScalingGroup) followed by the name of
a specified Auto Scaling group (my-asg). Example: autoScalingGroup/my-asg.
autoScalingGroup) followed by the
name of a specified Auto Scaling group (my-asg). Example:
autoScalingGroup/my-asg.public final ScalableDimension scalableDimension()
The scalable dimension for the resource. The only valid value is
autoscaling:autoScalingGroup:DesiredCapacity.
If the service returns an enum value that is not available in the current SDK version, scalableDimension
will return ScalableDimension.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from scalableDimensionAsString().
autoscaling:autoScalingGroup:DesiredCapacity.ScalableDimensionpublic final String scalableDimensionAsString()
The scalable dimension for the resource. The only valid value is
autoscaling:autoScalingGroup:DesiredCapacity.
If the service returns an enum value that is not available in the current SDK version, scalableDimension
will return ScalableDimension.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from scalableDimensionAsString().
autoscaling:autoScalingGroup:DesiredCapacity.ScalableDimensionpublic final ForecastDataType forecastDataType()
The type of forecast data to get.
LoadForecast: The load metric forecast.
CapacityForecast: The capacity forecast.
ScheduledActionMinCapacity: The minimum capacity for each scheduled scaling action. This data is
calculated as the larger of two values: the capacity forecast or the minimum capacity in the scaling instruction.
ScheduledActionMaxCapacity: The maximum capacity for each scheduled scaling action. The calculation
used is determined by the predictive scaling maximum capacity behavior setting in the scaling instruction.
If the service returns an enum value that is not available in the current SDK version, forecastDataType
will return ForecastDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from forecastDataTypeAsString().
LoadForecast: The load metric forecast.
CapacityForecast: The capacity forecast.
ScheduledActionMinCapacity: The minimum capacity for each scheduled scaling action. This
data is calculated as the larger of two values: the capacity forecast or the minimum capacity in the
scaling instruction.
ScheduledActionMaxCapacity: The maximum capacity for each scheduled scaling action. The
calculation used is determined by the predictive scaling maximum capacity behavior setting in the scaling
instruction.
ForecastDataTypepublic final String forecastDataTypeAsString()
The type of forecast data to get.
LoadForecast: The load metric forecast.
CapacityForecast: The capacity forecast.
ScheduledActionMinCapacity: The minimum capacity for each scheduled scaling action. This data is
calculated as the larger of two values: the capacity forecast or the minimum capacity in the scaling instruction.
ScheduledActionMaxCapacity: The maximum capacity for each scheduled scaling action. The calculation
used is determined by the predictive scaling maximum capacity behavior setting in the scaling instruction.
If the service returns an enum value that is not available in the current SDK version, forecastDataType
will return ForecastDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from forecastDataTypeAsString().
LoadForecast: The load metric forecast.
CapacityForecast: The capacity forecast.
ScheduledActionMinCapacity: The minimum capacity for each scheduled scaling action. This
data is calculated as the larger of two values: the capacity forecast or the minimum capacity in the
scaling instruction.
ScheduledActionMaxCapacity: The maximum capacity for each scheduled scaling action. The
calculation used is determined by the predictive scaling maximum capacity behavior setting in the scaling
instruction.
ForecastDataTypepublic final Instant startTime()
The inclusive start time of the time range for the forecast data to get. The date and time can be at most 56 days before the current date and time.
public final Instant endTime()
The exclusive end time of the time range for the forecast data to get. The maximum time duration between the start and end time is seven days.
Although this parameter can accept a date and time that is more than two days in the future, the availability of forecast data has limits. AWS Auto Scaling only issues forecasts for periods of two days in advance.
Although this parameter can accept a date and time that is more than two days in the future, the availability of forecast data has limits. AWS Auto Scaling only issues forecasts for periods of two days in advance.
public GetScalingPlanResourceForecastDataRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetScalingPlanResourceForecastDataRequest.Builder,GetScalingPlanResourceForecastDataRequest>toBuilder in class AutoScalingPlansRequestpublic static GetScalingPlanResourceForecastDataRequest.Builder builder()
public static Class<? extends GetScalingPlanResourceForecastDataRequest.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.