Struct aws_sdk_autoscaling::operation::get_predictive_scaling_forecast::builders::GetPredictiveScalingForecastInputBuilder
source · #[non_exhaustive]pub struct GetPredictiveScalingForecastInputBuilder { /* private fields */ }Expand description
A builder for GetPredictiveScalingForecastInput.
Implementations§
source§impl GetPredictiveScalingForecastInputBuilder
impl GetPredictiveScalingForecastInputBuilder
sourcepub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
pub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
The name of the Auto Scaling group.
This field is required.sourcepub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
pub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
The name of the Auto Scaling group.
sourcepub fn get_auto_scaling_group_name(&self) -> &Option<String>
pub fn get_auto_scaling_group_name(&self) -> &Option<String>
The name of the Auto Scaling group.
sourcepub fn policy_name(self, input: impl Into<String>) -> Self
pub fn policy_name(self, input: impl Into<String>) -> Self
The name of the policy.
This field is required.sourcepub fn set_policy_name(self, input: Option<String>) -> Self
pub fn set_policy_name(self, input: Option<String>) -> Self
The name of the policy.
sourcepub fn get_policy_name(&self) -> &Option<String>
pub fn get_policy_name(&self) -> &Option<String>
The name of the policy.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
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.
This field is required.sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
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.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
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.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
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.
This field is required.sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
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.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
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.
sourcepub fn build(self) -> Result<GetPredictiveScalingForecastInput, BuildError>
pub fn build(self) -> Result<GetPredictiveScalingForecastInput, BuildError>
Consumes the builder and constructs a GetPredictiveScalingForecastInput.
source§impl GetPredictiveScalingForecastInputBuilder
impl GetPredictiveScalingForecastInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetPredictiveScalingForecastOutput, SdkError<GetPredictiveScalingForecastError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetPredictiveScalingForecastOutput, SdkError<GetPredictiveScalingForecastError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetPredictiveScalingForecastInputBuilder
impl Clone for GetPredictiveScalingForecastInputBuilder
source§fn clone(&self) -> GetPredictiveScalingForecastInputBuilder
fn clone(&self) -> GetPredictiveScalingForecastInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetPredictiveScalingForecastInputBuilder
impl Default for GetPredictiveScalingForecastInputBuilder
source§fn default() -> GetPredictiveScalingForecastInputBuilder
fn default() -> GetPredictiveScalingForecastInputBuilder
source§impl PartialEq for GetPredictiveScalingForecastInputBuilder
impl PartialEq for GetPredictiveScalingForecastInputBuilder
source§fn eq(&self, other: &GetPredictiveScalingForecastInputBuilder) -> bool
fn eq(&self, other: &GetPredictiveScalingForecastInputBuilder) -> bool
self and other values to be equal, and is used
by ==.