Struct aws_sdk_elasticinference::operation::describe_accelerators::builders::DescribeAcceleratorsOutputBuilder
source · #[non_exhaustive]pub struct DescribeAcceleratorsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeAcceleratorsOutput
.
Implementations§
source§impl DescribeAcceleratorsOutputBuilder
impl DescribeAcceleratorsOutputBuilder
sourcepub fn accelerator_set(self, input: ElasticInferenceAccelerator) -> Self
pub fn accelerator_set(self, input: ElasticInferenceAccelerator) -> Self
Appends an item to accelerator_set
.
To override the contents of this collection use set_accelerator_set
.
The details of the Elastic Inference Accelerators.
sourcepub fn set_accelerator_set(
self,
input: Option<Vec<ElasticInferenceAccelerator>>
) -> Self
pub fn set_accelerator_set( self, input: Option<Vec<ElasticInferenceAccelerator>> ) -> Self
The details of the Elastic Inference Accelerators.
sourcepub fn get_accelerator_set(&self) -> &Option<Vec<ElasticInferenceAccelerator>>
pub fn get_accelerator_set(&self) -> &Option<Vec<ElasticInferenceAccelerator>>
The details of the Elastic Inference Accelerators.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
sourcepub fn build(self) -> DescribeAcceleratorsOutput
pub fn build(self) -> DescribeAcceleratorsOutput
Consumes the builder and constructs a DescribeAcceleratorsOutput
.
Trait Implementations§
source§impl Clone for DescribeAcceleratorsOutputBuilder
impl Clone for DescribeAcceleratorsOutputBuilder
source§fn clone(&self) -> DescribeAcceleratorsOutputBuilder
fn clone(&self) -> DescribeAcceleratorsOutputBuilder
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 DescribeAcceleratorsOutputBuilder
impl Default for DescribeAcceleratorsOutputBuilder
source§fn default() -> DescribeAcceleratorsOutputBuilder
fn default() -> DescribeAcceleratorsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeAcceleratorsOutputBuilder
impl PartialEq for DescribeAcceleratorsOutputBuilder
source§fn eq(&self, other: &DescribeAcceleratorsOutputBuilder) -> bool
fn eq(&self, other: &DescribeAcceleratorsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeAcceleratorsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeAcceleratorsOutputBuilder
impl Send for DescribeAcceleratorsOutputBuilder
impl Sync for DescribeAcceleratorsOutputBuilder
impl Unpin for DescribeAcceleratorsOutputBuilder
impl UnwindSafe for DescribeAcceleratorsOutputBuilder
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>
Creates a shared type from an unshared type.