Struct aws_sdk_emr::operation::get_managed_scaling_policy::builders::GetManagedScalingPolicyInputBuilder
source · #[non_exhaustive]pub struct GetManagedScalingPolicyInputBuilder { /* private fields */ }Expand description
A builder for GetManagedScalingPolicyInput.
Implementations§
source§impl GetManagedScalingPolicyInputBuilder
impl GetManagedScalingPolicyInputBuilder
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
Specifies the ID of the cluster for which the managed scaling policy will be fetched.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
Specifies the ID of the cluster for which the managed scaling policy will be fetched.
sourcepub fn build(self) -> Result<GetManagedScalingPolicyInput, BuildError>
pub fn build(self) -> Result<GetManagedScalingPolicyInput, BuildError>
Consumes the builder and constructs a GetManagedScalingPolicyInput.
Trait Implementations§
source§impl Clone for GetManagedScalingPolicyInputBuilder
impl Clone for GetManagedScalingPolicyInputBuilder
source§fn clone(&self) -> GetManagedScalingPolicyInputBuilder
fn clone(&self) -> GetManagedScalingPolicyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetManagedScalingPolicyInputBuilder
impl Default for GetManagedScalingPolicyInputBuilder
source§fn default() -> GetManagedScalingPolicyInputBuilder
fn default() -> GetManagedScalingPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetManagedScalingPolicyInputBuilder> for GetManagedScalingPolicyInputBuilder
impl PartialEq<GetManagedScalingPolicyInputBuilder> for GetManagedScalingPolicyInputBuilder
source§fn eq(&self, other: &GetManagedScalingPolicyInputBuilder) -> bool
fn eq(&self, other: &GetManagedScalingPolicyInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.