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 ==.