#[non_exhaustive]pub struct GetHostOutputBuilder { /* private fields */ }
Expand description
A builder for GetHostOutput
.
Implementations§
source§impl GetHostOutputBuilder
impl GetHostOutputBuilder
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the requested host.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the requested host.
sourcepub fn provider_type(self, input: ProviderType) -> Self
pub fn provider_type(self, input: ProviderType) -> Self
The provider type of the requested host, such as GitHub Enterprise Server.
sourcepub fn set_provider_type(self, input: Option<ProviderType>) -> Self
pub fn set_provider_type(self, input: Option<ProviderType>) -> Self
The provider type of the requested host, such as GitHub Enterprise Server.
sourcepub fn get_provider_type(&self) -> &Option<ProviderType>
pub fn get_provider_type(&self) -> &Option<ProviderType>
The provider type of the requested host, such as GitHub Enterprise Server.
sourcepub fn provider_endpoint(self, input: impl Into<String>) -> Self
pub fn provider_endpoint(self, input: impl Into<String>) -> Self
The endpoint of the infrastructure represented by the requested host.
sourcepub fn set_provider_endpoint(self, input: Option<String>) -> Self
pub fn set_provider_endpoint(self, input: Option<String>) -> Self
The endpoint of the infrastructure represented by the requested host.
sourcepub fn get_provider_endpoint(&self) -> &Option<String>
pub fn get_provider_endpoint(&self) -> &Option<String>
The endpoint of the infrastructure represented by the requested host.
sourcepub fn vpc_configuration(self, input: VpcConfiguration) -> Self
pub fn vpc_configuration(self, input: VpcConfiguration) -> Self
The VPC configuration of the requested host.
sourcepub fn set_vpc_configuration(self, input: Option<VpcConfiguration>) -> Self
pub fn set_vpc_configuration(self, input: Option<VpcConfiguration>) -> Self
The VPC configuration of the requested host.
sourcepub fn get_vpc_configuration(&self) -> &Option<VpcConfiguration>
pub fn get_vpc_configuration(&self) -> &Option<VpcConfiguration>
The VPC configuration of the requested host.
sourcepub fn build(self) -> GetHostOutput
pub fn build(self) -> GetHostOutput
Consumes the builder and constructs a GetHostOutput
.
Trait Implementations§
source§impl Clone for GetHostOutputBuilder
impl Clone for GetHostOutputBuilder
source§fn clone(&self) -> GetHostOutputBuilder
fn clone(&self) -> GetHostOutputBuilder
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 GetHostOutputBuilder
impl Debug for GetHostOutputBuilder
source§impl Default for GetHostOutputBuilder
impl Default for GetHostOutputBuilder
source§fn default() -> GetHostOutputBuilder
fn default() -> GetHostOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetHostOutputBuilder
impl PartialEq for GetHostOutputBuilder
source§fn eq(&self, other: &GetHostOutputBuilder) -> bool
fn eq(&self, other: &GetHostOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetHostOutputBuilder
Auto Trait Implementations§
impl Freeze for GetHostOutputBuilder
impl RefUnwindSafe for GetHostOutputBuilder
impl Send for GetHostOutputBuilder
impl Sync for GetHostOutputBuilder
impl Unpin for GetHostOutputBuilder
impl UnwindSafe for GetHostOutputBuilder
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>
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.