Struct aws_sdk_servicediscovery::operation::get_instance::builders::GetInstanceOutputBuilder
source · #[non_exhaustive]pub struct GetInstanceOutputBuilder { /* private fields */ }Expand description
A builder for GetInstanceOutput.
Implementations§
source§impl GetInstanceOutputBuilder
impl GetInstanceOutputBuilder
sourcepub fn instance(self, input: Instance) -> Self
pub fn instance(self, input: Instance) -> Self
A complex type that contains information about a specified instance.
sourcepub fn set_instance(self, input: Option<Instance>) -> Self
pub fn set_instance(self, input: Option<Instance>) -> Self
A complex type that contains information about a specified instance.
sourcepub fn get_instance(&self) -> &Option<Instance>
pub fn get_instance(&self) -> &Option<Instance>
A complex type that contains information about a specified instance.
sourcepub fn build(self) -> GetInstanceOutput
pub fn build(self) -> GetInstanceOutput
Consumes the builder and constructs a GetInstanceOutput.
Trait Implementations§
source§impl Clone for GetInstanceOutputBuilder
impl Clone for GetInstanceOutputBuilder
source§fn clone(&self) -> GetInstanceOutputBuilder
fn clone(&self) -> GetInstanceOutputBuilder
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 Debug for GetInstanceOutputBuilder
impl Debug for GetInstanceOutputBuilder
source§impl Default for GetInstanceOutputBuilder
impl Default for GetInstanceOutputBuilder
source§fn default() -> GetInstanceOutputBuilder
fn default() -> GetInstanceOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetInstanceOutputBuilder
impl PartialEq for GetInstanceOutputBuilder
source§fn eq(&self, other: &GetInstanceOutputBuilder) -> bool
fn eq(&self, other: &GetInstanceOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetInstanceOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetInstanceOutputBuilder
impl Send for GetInstanceOutputBuilder
impl Sync for GetInstanceOutputBuilder
impl Unpin for GetInstanceOutputBuilder
impl UnwindSafe for GetInstanceOutputBuilder
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.