Struct aws_sdk_codestarconnections::model::host::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Host
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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.