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.
This field is required.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 get_gateway_arn(&self) -> &Option<String>
pub fn get_gateway_arn(&self) -> &Option<String>
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).
This field is required.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 get_host(&self) -> &Option<String>
pub fn get_host(&self) -> &Option<String>
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 get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
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 get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
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
.
source§impl TestHypervisorConfigurationInputBuilder
impl TestHypervisorConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<TestHypervisorConfigurationOutput, SdkError<TestHypervisorConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<TestHypervisorConfigurationOutput, SdkError<TestHypervisorConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TestHypervisorConfigurationInputBuilder
impl Clone for TestHypervisorConfigurationInputBuilder
source§fn clone(&self) -> TestHypervisorConfigurationInputBuilder
fn clone(&self) -> TestHypervisorConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TestHypervisorConfigurationInputBuilder
impl Default for TestHypervisorConfigurationInputBuilder
source§fn default() -> TestHypervisorConfigurationInputBuilder
fn default() -> TestHypervisorConfigurationInputBuilder
source§impl PartialEq for TestHypervisorConfigurationInputBuilder
impl PartialEq for TestHypervisorConfigurationInputBuilder
source§fn eq(&self, other: &TestHypervisorConfigurationInputBuilder) -> bool
fn eq(&self, other: &TestHypervisorConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.