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 ==
.impl StructuralPartialEq for TestHypervisorConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for TestHypervisorConfigurationInputBuilder
impl RefUnwindSafe for TestHypervisorConfigurationInputBuilder
impl Send for TestHypervisorConfigurationInputBuilder
impl Sync for TestHypervisorConfigurationInputBuilder
impl Unpin for TestHypervisorConfigurationInputBuilder
impl UnwindSafe for TestHypervisorConfigurationInputBuilder
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> 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