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
impl StructuralPartialEq for CreateHostInputBuilder
Auto Trait Implementations§
impl Freeze for CreateHostInputBuilder
impl RefUnwindSafe for CreateHostInputBuilder
impl Send for CreateHostInputBuilder
impl Sync for CreateHostInputBuilder
impl Unpin for CreateHostInputBuilder
impl UnwindSafe for CreateHostInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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