Interface GetPredictiveScalingForecastRequest.Builder

    • Method Detail

      • autoScalingGroupName

        GetPredictiveScalingForecastRequest.Builder autoScalingGroupName​(String autoScalingGroupName)

        The name of the Auto Scaling group.

        Parameters:
        autoScalingGroupName - The name of the Auto Scaling group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyName

        GetPredictiveScalingForecastRequest.Builder policyName​(String policyName)

        The name of the policy.

        Parameters:
        policyName - The name of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        GetPredictiveScalingForecastRequest.Builder startTime​(Instant startTime)

        The inclusive start time of the time range for the forecast data to get. At most, the date and time can be one year before the current date and time.

        Parameters:
        startTime - The inclusive start time of the time range for the forecast data to get. At most, the date and time can be one year before the current date and time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        GetPredictiveScalingForecastRequest.Builder endTime​(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 30 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. Amazon EC2 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 30 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. Amazon EC2 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.