Struct aws_sdk_ec2::operation::describe_elastic_gpus::builders::DescribeElasticGpusOutputBuilder
source · #[non_exhaustive]pub struct DescribeElasticGpusOutputBuilder { /* private fields */ }Expand description
A builder for DescribeElasticGpusOutput.
Implementations§
source§impl DescribeElasticGpusOutputBuilder
impl DescribeElasticGpusOutputBuilder
sourcepub fn elastic_gpu_set(self, input: ElasticGpus) -> Self
pub fn elastic_gpu_set(self, input: ElasticGpus) -> Self
Appends an item to elastic_gpu_set.
To override the contents of this collection use set_elastic_gpu_set.
Information about the Elastic Graphics accelerators.
sourcepub fn set_elastic_gpu_set(self, input: Option<Vec<ElasticGpus>>) -> Self
pub fn set_elastic_gpu_set(self, input: Option<Vec<ElasticGpus>>) -> Self
Information about the Elastic Graphics accelerators.
sourcepub fn get_elastic_gpu_set(&self) -> &Option<Vec<ElasticGpus>>
pub fn get_elastic_gpu_set(&self) -> &Option<Vec<ElasticGpus>>
Information about the Elastic Graphics accelerators.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results. This value is null when there are no more results 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 use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> DescribeElasticGpusOutput
pub fn build(self) -> DescribeElasticGpusOutput
Consumes the builder and constructs a DescribeElasticGpusOutput.
Trait Implementations§
source§impl Clone for DescribeElasticGpusOutputBuilder
impl Clone for DescribeElasticGpusOutputBuilder
source§fn clone(&self) -> DescribeElasticGpusOutputBuilder
fn clone(&self) -> DescribeElasticGpusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeElasticGpusOutputBuilder
impl Default for DescribeElasticGpusOutputBuilder
source§fn default() -> DescribeElasticGpusOutputBuilder
fn default() -> DescribeElasticGpusOutputBuilder
source§impl PartialEq for DescribeElasticGpusOutputBuilder
impl PartialEq for DescribeElasticGpusOutputBuilder
source§fn eq(&self, other: &DescribeElasticGpusOutputBuilder) -> bool
fn eq(&self, other: &DescribeElasticGpusOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeElasticGpusOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeElasticGpusOutputBuilder
impl RefUnwindSafe for DescribeElasticGpusOutputBuilder
impl Send for DescribeElasticGpusOutputBuilder
impl Sync for DescribeElasticGpusOutputBuilder
impl Unpin for DescribeElasticGpusOutputBuilder
impl UnwindSafe for DescribeElasticGpusOutputBuilder
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> 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