Interface GetScalingPlanResourceForecastDataRequest.Builder

  • 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

      GetScalingPlanResourceForecastDataRequest.Builder scalingPlanVersion(Long 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 is 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceNamespace

      GetScalingPlanResourceForecastDataRequest.Builder serviceNamespace(String 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 is autoscaling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 is autoscaling.
      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

      GetScalingPlanResourceForecastDataRequest.Builder scalableDimension(String 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 is autoscaling:autoScalingGroup:DesiredCapacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 is autoscaling:autoScalingGroup:DesiredCapacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • forecastDataType

      GetScalingPlanResourceForecastDataRequest.Builder forecastDataType(String 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

      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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.