#[non_exhaustive]pub struct StopInstanceOnIdleRequestBuilder { /* private fields */ }
Expand description
A builder for StopInstanceOnIdleRequest
.
Implementations§
source§impl StopInstanceOnIdleRequestBuilder
impl StopInstanceOnIdleRequestBuilder
sourcepub fn threshold(self, input: impl Into<String>) -> Self
pub fn threshold(self, input: impl Into<String>) -> Self
The value to compare with the duration.
sourcepub fn set_threshold(self, input: Option<String>) -> Self
pub fn set_threshold(self, input: Option<String>) -> Self
The value to compare with the duration.
sourcepub fn get_threshold(&self) -> &Option<String>
pub fn get_threshold(&self) -> &Option<String>
The value to compare with the duration.
sourcepub fn duration(self, input: impl Into<String>) -> Self
pub fn duration(self, input: impl Into<String>) -> Self
The amount of idle time in minutes after which your virtual computer will automatically stop.
sourcepub fn set_duration(self, input: Option<String>) -> Self
pub fn set_duration(self, input: Option<String>) -> Self
The amount of idle time in minutes after which your virtual computer will automatically stop.
sourcepub fn get_duration(&self) -> &Option<String>
pub fn get_duration(&self) -> &Option<String>
The amount of idle time in minutes after which your virtual computer will automatically stop.
sourcepub fn build(self) -> StopInstanceOnIdleRequest
pub fn build(self) -> StopInstanceOnIdleRequest
Consumes the builder and constructs a StopInstanceOnIdleRequest
.
Trait Implementations§
source§impl Clone for StopInstanceOnIdleRequestBuilder
impl Clone for StopInstanceOnIdleRequestBuilder
source§fn clone(&self) -> StopInstanceOnIdleRequestBuilder
fn clone(&self) -> StopInstanceOnIdleRequestBuilder
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 StopInstanceOnIdleRequestBuilder
impl Default for StopInstanceOnIdleRequestBuilder
source§fn default() -> StopInstanceOnIdleRequestBuilder
fn default() -> StopInstanceOnIdleRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StopInstanceOnIdleRequestBuilder
impl PartialEq for StopInstanceOnIdleRequestBuilder
source§fn eq(&self, other: &StopInstanceOnIdleRequestBuilder) -> bool
fn eq(&self, other: &StopInstanceOnIdleRequestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StopInstanceOnIdleRequestBuilder
Auto Trait Implementations§
impl Freeze for StopInstanceOnIdleRequestBuilder
impl RefUnwindSafe for StopInstanceOnIdleRequestBuilder
impl Send for StopInstanceOnIdleRequestBuilder
impl Sync for StopInstanceOnIdleRequestBuilder
impl Unpin for StopInstanceOnIdleRequestBuilder
impl UnwindSafe for StopInstanceOnIdleRequestBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.