Interface GetScalingPlanResourceForecastDataRequest.Builder
- All Superinterfaces:
AutoScalingPlansRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<GetScalingPlanResourceForecastDataRequest.Builder,
,GetScalingPlanResourceForecastDataRequest> SdkBuilder<GetScalingPlanResourceForecastDataRequest.Builder,
,GetScalingPlanResourceForecastDataRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetScalingPlanResourceForecastDataRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe exclusive end time of the time range for the forecast data to get.forecastDataType
(String forecastDataType) The type of forecast data to get.forecastDataType
(ForecastDataType forecastDataType) The type of forecast data to get.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceId
(String resourceId) The ID of the resource.scalableDimension
(String scalableDimension) The scalable dimension for the resource.scalableDimension
(ScalableDimension scalableDimension) The scalable dimension for the resource.scalingPlanName
(String scalingPlanName) The name of the scaling plan.scalingPlanVersion
(Long scalingPlanVersion) The version number of the scaling plan.serviceNamespace
(String serviceNamespace) The namespace of the AWS service.serviceNamespace
(ServiceNamespace serviceNamespace) The namespace of the AWS service.The inclusive start time of the time range for the forecast data to get.Methods inherited from interface software.amazon.awssdk.services.autoscalingplans.model.AutoScalingPlansRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
scalingPlanName
The name of the scaling plan.
- Parameters:
scalingPlanName
- The name of the scaling plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPlanVersion
The version number of the scaling plan. Currently, the only valid value is
1
.- Parameters:
scalingPlanVersion
- The version number of the scaling plan. Currently, the only valid value is1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNamespace
The namespace of the AWS service. The only valid value is
autoscaling
.- Parameters:
serviceNamespace
- The namespace of the AWS service. The only valid value isautoscaling
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceNamespace
GetScalingPlanResourceForecastDataRequest.Builder serviceNamespace(ServiceNamespace serviceNamespace) The namespace of the AWS service. The only valid value is
autoscaling
.- Parameters:
serviceNamespace
- The namespace of the AWS service. The only valid value isautoscaling
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalableDimension
The scalable dimension for the resource. The only valid value is
autoscaling:autoScalingGroup:DesiredCapacity
.- Parameters:
scalableDimension
- The scalable dimension for the resource. The only valid value isautoscaling:autoScalingGroup:DesiredCapacity
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scalableDimension
GetScalingPlanResourceForecastDataRequest.Builder scalableDimension(ScalableDimension scalableDimension) The scalable dimension for the resource. The only valid value is
autoscaling:autoScalingGroup:DesiredCapacity
.- Parameters:
scalableDimension
- The scalable dimension for the resource. The only valid value isautoscaling:autoScalingGroup:DesiredCapacity
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
forecastDataType
GetScalingPlanResourceForecastDataRequest.Builder forecastDataType(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetScalingPlanResourceForecastDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetScalingPlanResourceForecastDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-