Struct aws_sdk_codestarconnections::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 ==
.