Struct aws_sdk_ec2::operation::describe_instance_credit_specifications::builders::DescribeInstanceCreditSpecificationsOutputBuilder
source · #[non_exhaustive]pub struct DescribeInstanceCreditSpecificationsOutputBuilder { /* private fields */ }Expand description
A builder for DescribeInstanceCreditSpecificationsOutput.
Implementations§
source§impl DescribeInstanceCreditSpecificationsOutputBuilder
impl DescribeInstanceCreditSpecificationsOutputBuilder
sourcepub fn instance_credit_specifications(
self,
input: InstanceCreditSpecification,
) -> Self
pub fn instance_credit_specifications( self, input: InstanceCreditSpecification, ) -> Self
Appends an item to instance_credit_specifications.
To override the contents of this collection use set_instance_credit_specifications.
Information about the credit option for CPU usage of an instance.
sourcepub fn set_instance_credit_specifications(
self,
input: Option<Vec<InstanceCreditSpecification>>,
) -> Self
pub fn set_instance_credit_specifications( self, input: Option<Vec<InstanceCreditSpecification>>, ) -> Self
Information about the credit option for CPU usage of an instance.
sourcepub fn get_instance_credit_specifications(
&self,
) -> &Option<Vec<InstanceCreditSpecification>>
pub fn get_instance_credit_specifications( &self, ) -> &Option<Vec<InstanceCreditSpecification>>
Information about the credit option for CPU usage of an instance.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to include in another request to get the next page of items. This value is null when there are no more items to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to include in another request to get the next page of items. This value is null when there are no more items to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to include in another request to get the next page of items. This value is null when there are no more items to return.
sourcepub fn build(self) -> DescribeInstanceCreditSpecificationsOutput
pub fn build(self) -> DescribeInstanceCreditSpecificationsOutput
Consumes the builder and constructs a DescribeInstanceCreditSpecificationsOutput.
Trait Implementations§
source§impl Clone for DescribeInstanceCreditSpecificationsOutputBuilder
impl Clone for DescribeInstanceCreditSpecificationsOutputBuilder
source§fn clone(&self) -> DescribeInstanceCreditSpecificationsOutputBuilder
fn clone(&self) -> DescribeInstanceCreditSpecificationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeInstanceCreditSpecificationsOutputBuilder
impl Default for DescribeInstanceCreditSpecificationsOutputBuilder
source§fn default() -> DescribeInstanceCreditSpecificationsOutputBuilder
fn default() -> DescribeInstanceCreditSpecificationsOutputBuilder
source§impl PartialEq for DescribeInstanceCreditSpecificationsOutputBuilder
impl PartialEq for DescribeInstanceCreditSpecificationsOutputBuilder
source§fn eq(&self, other: &DescribeInstanceCreditSpecificationsOutputBuilder) -> bool
fn eq(&self, other: &DescribeInstanceCreditSpecificationsOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeInstanceCreditSpecificationsOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeInstanceCreditSpecificationsOutputBuilder
impl RefUnwindSafe for DescribeInstanceCreditSpecificationsOutputBuilder
impl Send for DescribeInstanceCreditSpecificationsOutputBuilder
impl Sync for DescribeInstanceCreditSpecificationsOutputBuilder
impl Unpin for DescribeInstanceCreditSpecificationsOutputBuilder
impl UnwindSafe for DescribeInstanceCreditSpecificationsOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more