Struct aws_sdk_backupgateway::operation::test_hypervisor_configuration::builders::TestHypervisorConfigurationInputBuilder
source · #[non_exhaustive]pub struct TestHypervisorConfigurationInputBuilder { /* private fields */ }Expand description
A builder for TestHypervisorConfigurationInput.
Implementations§
source§impl TestHypervisorConfigurationInputBuilder
impl TestHypervisorConfigurationInputBuilder
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.
Trait Implementations§
source§impl Clone for TestHypervisorConfigurationInputBuilder
impl Clone for TestHypervisorConfigurationInputBuilder
source§fn clone(&self) -> TestHypervisorConfigurationInputBuilder
fn clone(&self) -> TestHypervisorConfigurationInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for TestHypervisorConfigurationInputBuilder
impl Default for TestHypervisorConfigurationInputBuilder
source§fn default() -> TestHypervisorConfigurationInputBuilder
fn default() -> TestHypervisorConfigurationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TestHypervisorConfigurationInputBuilder> for TestHypervisorConfigurationInputBuilder
impl PartialEq<TestHypervisorConfigurationInputBuilder> for TestHypervisorConfigurationInputBuilder
source§fn eq(&self, other: &TestHypervisorConfigurationInputBuilder) -> bool
fn eq(&self, other: &TestHypervisorConfigurationInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.