Struct aws_sdk_codeconnections::types::builders::HostBuilder   
source · #[non_exhaustive]pub struct HostBuilder { /* private fields */ }Expand description
A builder for Host.
Implementations§
source§impl HostBuilder
 
impl HostBuilder
sourcepub fn host_arn(self, input: impl Into<String>) -> Self
 
pub fn host_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the host.
sourcepub fn set_host_arn(self, input: Option<String>) -> Self
 
pub fn set_host_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the host.
sourcepub fn get_host_arn(&self) -> &Option<String>
 
pub fn get_host_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the host.
sourcepub fn provider_type(self, input: ProviderType) -> Self
 
pub fn provider_type(self, input: ProviderType) -> Self
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
sourcepub fn set_provider_type(self, input: Option<ProviderType>) -> Self
 
pub fn set_provider_type(self, input: Option<ProviderType>) -> Self
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
sourcepub fn get_provider_type(&self) -> &Option<ProviderType>
 
pub fn get_provider_type(&self) -> &Option<ProviderType>
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is 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 where your provider type is installed.
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 where your provider type is installed.
sourcepub fn get_provider_endpoint(&self) -> &Option<String>
 
pub fn get_provider_endpoint(&self) -> &Option<String>
The endpoint of the infrastructure where your provider type is installed.
sourcepub fn vpc_configuration(self, input: VpcConfiguration) -> Self
 
pub fn vpc_configuration(self, input: VpcConfiguration) -> Self
The VPC configuration provisioned for the host.
sourcepub fn set_vpc_configuration(self, input: Option<VpcConfiguration>) -> Self
 
pub fn set_vpc_configuration(self, input: Option<VpcConfiguration>) -> Self
The VPC configuration provisioned for the host.
sourcepub fn get_vpc_configuration(&self) -> &Option<VpcConfiguration>
 
pub fn get_vpc_configuration(&self) -> &Option<VpcConfiguration>
The VPC configuration provisioned for the host.
sourcepub fn status(self, input: impl Into<String>) -> Self
 
pub fn status(self, input: impl Into<String>) -> Self
The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
sourcepub fn set_status(self, input: Option<String>) -> Self
 
pub fn set_status(self, input: Option<String>) -> Self
The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
sourcepub fn get_status(&self) -> &Option<String>
 
pub fn get_status(&self) -> &Option<String>
The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
 
pub fn status_message(self, input: impl Into<String>) -> Self
The status description for the host.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
 
pub fn set_status_message(self, input: Option<String>) -> Self
The status description for the host.
sourcepub fn get_status_message(&self) -> &Option<String>
 
pub fn get_status_message(&self) -> &Option<String>
The status description for the host.
Trait Implementations§
source§impl Clone for HostBuilder
 
impl Clone for HostBuilder
source§fn clone(&self) -> HostBuilder
 
fn clone(&self) -> HostBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for HostBuilder
 
impl Debug for HostBuilder
source§impl Default for HostBuilder
 
impl Default for HostBuilder
source§fn default() -> HostBuilder
 
fn default() -> HostBuilder
source§impl PartialEq for HostBuilder
 
impl PartialEq for HostBuilder
source§fn eq(&self, other: &HostBuilder) -> bool
 
fn eq(&self, other: &HostBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HostBuilder
Auto Trait Implementations§
impl Freeze for HostBuilder
impl RefUnwindSafe for HostBuilder
impl Send for HostBuilder
impl Sync for HostBuilder
impl Unpin for HostBuilder
impl UnwindSafe for HostBuilder
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
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>
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>
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 more