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
impl StructuralPartialEq for GetInstanceOutputBuilder
Auto Trait Implementations§
impl Freeze for GetInstanceOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.