#[non_exhaustive]pub struct UnsuccessfulInstanceCreditSpecificationItemBuilder { /* private fields */ }
Expand description
A builder for UnsuccessfulInstanceCreditSpecificationItem
.
Implementations§
source§impl UnsuccessfulInstanceCreditSpecificationItemBuilder
impl UnsuccessfulInstanceCreditSpecificationItemBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance.
sourcepub fn error(
self,
input: UnsuccessfulInstanceCreditSpecificationItemError
) -> Self
pub fn error( self, input: UnsuccessfulInstanceCreditSpecificationItemError ) -> Self
The applicable error for the burstable performance instance whose credit option for CPU usage was not modified.
sourcepub fn set_error(
self,
input: Option<UnsuccessfulInstanceCreditSpecificationItemError>
) -> Self
pub fn set_error( self, input: Option<UnsuccessfulInstanceCreditSpecificationItemError> ) -> Self
The applicable error for the burstable performance instance whose credit option for CPU usage was not modified.
sourcepub fn get_error(
&self
) -> &Option<UnsuccessfulInstanceCreditSpecificationItemError>
pub fn get_error( &self ) -> &Option<UnsuccessfulInstanceCreditSpecificationItemError>
The applicable error for the burstable performance instance whose credit option for CPU usage was not modified.
sourcepub fn build(self) -> UnsuccessfulInstanceCreditSpecificationItem
pub fn build(self) -> UnsuccessfulInstanceCreditSpecificationItem
Consumes the builder and constructs a UnsuccessfulInstanceCreditSpecificationItem
.
Trait Implementations§
source§impl Clone for UnsuccessfulInstanceCreditSpecificationItemBuilder
impl Clone for UnsuccessfulInstanceCreditSpecificationItemBuilder
source§fn clone(&self) -> UnsuccessfulInstanceCreditSpecificationItemBuilder
fn clone(&self) -> UnsuccessfulInstanceCreditSpecificationItemBuilder
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 UnsuccessfulInstanceCreditSpecificationItemBuilder
impl Default for UnsuccessfulInstanceCreditSpecificationItemBuilder
source§fn default() -> UnsuccessfulInstanceCreditSpecificationItemBuilder
fn default() -> UnsuccessfulInstanceCreditSpecificationItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UnsuccessfulInstanceCreditSpecificationItemBuilder
impl PartialEq for UnsuccessfulInstanceCreditSpecificationItemBuilder
source§fn eq(&self, other: &UnsuccessfulInstanceCreditSpecificationItemBuilder) -> bool
fn eq(&self, other: &UnsuccessfulInstanceCreditSpecificationItemBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnsuccessfulInstanceCreditSpecificationItemBuilder
Auto Trait Implementations§
impl Freeze for UnsuccessfulInstanceCreditSpecificationItemBuilder
impl RefUnwindSafe for UnsuccessfulInstanceCreditSpecificationItemBuilder
impl Send for UnsuccessfulInstanceCreditSpecificationItemBuilder
impl Sync for UnsuccessfulInstanceCreditSpecificationItemBuilder
impl Unpin for UnsuccessfulInstanceCreditSpecificationItemBuilder
impl UnwindSafe for UnsuccessfulInstanceCreditSpecificationItemBuilder
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.