Struct aws_sdk_ec2::operation::describe_instance_topology::builders::DescribeInstanceTopologyOutputBuilder
source · #[non_exhaustive]pub struct DescribeInstanceTopologyOutputBuilder { /* private fields */ }Expand description
A builder for DescribeInstanceTopologyOutput.
Implementations§
source§impl DescribeInstanceTopologyOutputBuilder
impl DescribeInstanceTopologyOutputBuilder
sourcepub fn instances(self, input: InstanceTopology) -> Self
pub fn instances(self, input: InstanceTopology) -> Self
Appends an item to instances.
To override the contents of this collection use set_instances.
Information about the topology of each instance.
sourcepub fn set_instances(self, input: Option<Vec<InstanceTopology>>) -> Self
pub fn set_instances(self, input: Option<Vec<InstanceTopology>>) -> Self
Information about the topology of each instance.
sourcepub fn get_instances(&self) -> &Option<Vec<InstanceTopology>>
pub fn get_instances(&self) -> &Option<Vec<InstanceTopology>>
Information about the topology of each 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) -> DescribeInstanceTopologyOutput
pub fn build(self) -> DescribeInstanceTopologyOutput
Consumes the builder and constructs a DescribeInstanceTopologyOutput.
Trait Implementations§
source§impl Clone for DescribeInstanceTopologyOutputBuilder
impl Clone for DescribeInstanceTopologyOutputBuilder
source§fn clone(&self) -> DescribeInstanceTopologyOutputBuilder
fn clone(&self) -> DescribeInstanceTopologyOutputBuilder
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 DescribeInstanceTopologyOutputBuilder
impl Default for DescribeInstanceTopologyOutputBuilder
source§fn default() -> DescribeInstanceTopologyOutputBuilder
fn default() -> DescribeInstanceTopologyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeInstanceTopologyOutputBuilder
impl PartialEq for DescribeInstanceTopologyOutputBuilder
source§fn eq(&self, other: &DescribeInstanceTopologyOutputBuilder) -> bool
fn eq(&self, other: &DescribeInstanceTopologyOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeInstanceTopologyOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeInstanceTopologyOutputBuilder
impl Send for DescribeInstanceTopologyOutputBuilder
impl Sync for DescribeInstanceTopologyOutputBuilder
impl Unpin for DescribeInstanceTopologyOutputBuilder
impl UnwindSafe for DescribeInstanceTopologyOutputBuilder
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.