Struct aws_sdk_codestarconnections::operation::create_host::builders::CreateHostInputBuilder
source · #[non_exhaustive]pub struct CreateHostInputBuilder { /* private fields */ }
Expand description
A builder for CreateHostInput
.
Implementations§
source§impl CreateHostInputBuilder
impl CreateHostInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the host to be created.
This field is required.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.
This field is required.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 to be represented by the host after it is created.
This field is required.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 to be represented by the host after it is created.
sourcepub fn get_provider_endpoint(&self) -> &Option<String>
pub fn get_provider_endpoint(&self) -> &Option<String>
The endpoint of the infrastructure to be represented by the host after it is created.
sourcepub fn vpc_configuration(self, input: VpcConfiguration) -> Self
pub fn vpc_configuration(self, input: VpcConfiguration) -> Self
The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
sourcepub fn set_vpc_configuration(self, input: Option<VpcConfiguration>) -> Self
pub fn set_vpc_configuration(self, input: Option<VpcConfiguration>) -> Self
The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
sourcepub fn get_vpc_configuration(&self) -> &Option<VpcConfiguration>
pub fn get_vpc_configuration(&self) -> &Option<VpcConfiguration>
The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Tags for the host to be created.
Tags for the host to be created.
Tags for the host to be created.
sourcepub fn build(self) -> Result<CreateHostInput, BuildError>
pub fn build(self) -> Result<CreateHostInput, BuildError>
Consumes the builder and constructs a CreateHostInput
.
source§impl CreateHostInputBuilder
impl CreateHostInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateHostOutput, SdkError<CreateHostError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateHostOutput, SdkError<CreateHostError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateHostInputBuilder
impl Clone for CreateHostInputBuilder
source§fn clone(&self) -> CreateHostInputBuilder
fn clone(&self) -> CreateHostInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateHostInputBuilder
impl Debug for CreateHostInputBuilder
source§impl Default for CreateHostInputBuilder
impl Default for CreateHostInputBuilder
source§fn default() -> CreateHostInputBuilder
fn default() -> CreateHostInputBuilder
source§impl PartialEq for CreateHostInputBuilder
impl PartialEq for CreateHostInputBuilder
source§fn eq(&self, other: &CreateHostInputBuilder) -> bool
fn eq(&self, other: &CreateHostInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.