pub struct Builder { /* private fields */ }
Expand description
A builder for TestHypervisorConfigurationInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the gateway to the hypervisor to test.
sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the gateway to the hypervisor to test.
sourcepub fn host(self, input: impl Into<String>) -> Self
pub fn host(self, input: impl Into<String>) -> Self
The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
sourcepub fn set_host(self, input: Option<String>) -> Self
pub fn set_host(self, input: Option<String>) -> Self
The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The username for the hypervisor.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The password for the hypervisor.
sourcepub fn build(self) -> Result<TestHypervisorConfigurationInput, BuildError>
pub fn build(self) -> Result<TestHypervisorConfigurationInput, BuildError>
Consumes the builder and constructs a TestHypervisorConfigurationInput
.