Struct aws_sdk_emr::model::auto_scaling_policy_status::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for AutoScalingPolicyStatus.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn state(self, input: AutoScalingPolicyState) -> Self
pub fn state(self, input: AutoScalingPolicyState) -> Self
Indicates the status of the automatic scaling policy.
sourcepub fn set_state(self, input: Option<AutoScalingPolicyState>) -> Self
pub fn set_state(self, input: Option<AutoScalingPolicyState>) -> Self
Indicates the status of the automatic scaling policy.
sourcepub fn state_change_reason(
self,
input: AutoScalingPolicyStateChangeReason
) -> Self
pub fn state_change_reason(
self,
input: AutoScalingPolicyStateChangeReason
) -> Self
The reason for a change in status.
sourcepub fn set_state_change_reason(
self,
input: Option<AutoScalingPolicyStateChangeReason>
) -> Self
pub fn set_state_change_reason(
self,
input: Option<AutoScalingPolicyStateChangeReason>
) -> Self
The reason for a change in status.
sourcepub fn build(self) -> AutoScalingPolicyStatus
pub fn build(self) -> AutoScalingPolicyStatus
Consumes the builder and constructs a AutoScalingPolicyStatus.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more