Struct aws_sdk_sagemaker::operation::get_scaling_configuration_recommendation::builders::GetScalingConfigurationRecommendationOutputBuilder
source · #[non_exhaustive]pub struct GetScalingConfigurationRecommendationOutputBuilder { /* private fields */ }
Expand description
A builder for GetScalingConfigurationRecommendationOutput
.
Implementations§
source§impl GetScalingConfigurationRecommendationOutputBuilder
impl GetScalingConfigurationRecommendationOutputBuilder
sourcepub fn inference_recommendations_job_name(
self,
input: impl Into<String>
) -> Self
pub fn inference_recommendations_job_name( self, input: impl Into<String> ) -> Self
The name of a previously completed Inference Recommender job.
sourcepub fn set_inference_recommendations_job_name(
self,
input: Option<String>
) -> Self
pub fn set_inference_recommendations_job_name( self, input: Option<String> ) -> Self
The name of a previously completed Inference Recommender job.
sourcepub fn get_inference_recommendations_job_name(&self) -> &Option<String>
pub fn get_inference_recommendations_job_name(&self) -> &Option<String>
The name of a previously completed Inference Recommender job.
sourcepub fn recommendation_id(self, input: impl Into<String>) -> Self
pub fn recommendation_id(self, input: impl Into<String>) -> Self
The recommendation ID of a previously completed inference recommendation.
sourcepub fn set_recommendation_id(self, input: Option<String>) -> Self
pub fn set_recommendation_id(self, input: Option<String>) -> Self
The recommendation ID of a previously completed inference recommendation.
sourcepub fn get_recommendation_id(&self) -> &Option<String>
pub fn get_recommendation_id(&self) -> &Option<String>
The recommendation ID of a previously completed inference recommendation.
sourcepub fn endpoint_name(self, input: impl Into<String>) -> Self
pub fn endpoint_name(self, input: impl Into<String>) -> Self
The name of an endpoint benchmarked during a previously completed Inference Recommender job.
sourcepub fn set_endpoint_name(self, input: Option<String>) -> Self
pub fn set_endpoint_name(self, input: Option<String>) -> Self
The name of an endpoint benchmarked during a previously completed Inference Recommender job.
sourcepub fn get_endpoint_name(&self) -> &Option<String>
pub fn get_endpoint_name(&self) -> &Option<String>
The name of an endpoint benchmarked during a previously completed Inference Recommender job.
sourcepub fn target_cpu_utilization_per_core(self, input: i32) -> Self
pub fn target_cpu_utilization_per_core(self, input: i32) -> Self
The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%.
sourcepub fn set_target_cpu_utilization_per_core(self, input: Option<i32>) -> Self
pub fn set_target_cpu_utilization_per_core(self, input: Option<i32>) -> Self
The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%.
sourcepub fn get_target_cpu_utilization_per_core(&self) -> &Option<i32>
pub fn get_target_cpu_utilization_per_core(&self) -> &Option<i32>
The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%.
sourcepub fn scaling_policy_objective(self, input: ScalingPolicyObjective) -> Self
pub fn scaling_policy_objective(self, input: ScalingPolicyObjective) -> Self
An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
sourcepub fn set_scaling_policy_objective(
self,
input: Option<ScalingPolicyObjective>
) -> Self
pub fn set_scaling_policy_objective( self, input: Option<ScalingPolicyObjective> ) -> Self
An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
sourcepub fn get_scaling_policy_objective(&self) -> &Option<ScalingPolicyObjective>
pub fn get_scaling_policy_objective(&self) -> &Option<ScalingPolicyObjective>
An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
sourcepub fn metric(self, input: ScalingPolicyMetric) -> Self
pub fn metric(self, input: ScalingPolicyMetric) -> Self
An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
sourcepub fn set_metric(self, input: Option<ScalingPolicyMetric>) -> Self
pub fn set_metric(self, input: Option<ScalingPolicyMetric>) -> Self
An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
sourcepub fn get_metric(&self) -> &Option<ScalingPolicyMetric>
pub fn get_metric(&self) -> &Option<ScalingPolicyMetric>
An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
sourcepub fn dynamic_scaling_configuration(
self,
input: DynamicScalingConfiguration
) -> Self
pub fn dynamic_scaling_configuration( self, input: DynamicScalingConfiguration ) -> Self
An object with the recommended values for you to specify when creating an autoscaling policy.
sourcepub fn set_dynamic_scaling_configuration(
self,
input: Option<DynamicScalingConfiguration>
) -> Self
pub fn set_dynamic_scaling_configuration( self, input: Option<DynamicScalingConfiguration> ) -> Self
An object with the recommended values for you to specify when creating an autoscaling policy.
sourcepub fn get_dynamic_scaling_configuration(
&self
) -> &Option<DynamicScalingConfiguration>
pub fn get_dynamic_scaling_configuration( &self ) -> &Option<DynamicScalingConfiguration>
An object with the recommended values for you to specify when creating an autoscaling policy.
sourcepub fn build(self) -> GetScalingConfigurationRecommendationOutput
pub fn build(self) -> GetScalingConfigurationRecommendationOutput
Consumes the builder and constructs a GetScalingConfigurationRecommendationOutput
.
Trait Implementations§
source§impl Clone for GetScalingConfigurationRecommendationOutputBuilder
impl Clone for GetScalingConfigurationRecommendationOutputBuilder
source§fn clone(&self) -> GetScalingConfigurationRecommendationOutputBuilder
fn clone(&self) -> GetScalingConfigurationRecommendationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetScalingConfigurationRecommendationOutputBuilder
impl Default for GetScalingConfigurationRecommendationOutputBuilder
source§fn default() -> GetScalingConfigurationRecommendationOutputBuilder
fn default() -> GetScalingConfigurationRecommendationOutputBuilder
source§impl PartialEq for GetScalingConfigurationRecommendationOutputBuilder
impl PartialEq for GetScalingConfigurationRecommendationOutputBuilder
source§fn eq(&self, other: &GetScalingConfigurationRecommendationOutputBuilder) -> bool
fn eq(&self, other: &GetScalingConfigurationRecommendationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.