Struct aws_sdk_backupgateway::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsInputBuilder
source · #[non_exhaustive]pub struct PutHypervisorPropertyMappingsInputBuilder { /* private fields */ }Expand description
A builder for PutHypervisorPropertyMappingsInput.
Implementations§
source§impl PutHypervisorPropertyMappingsInputBuilder
impl PutHypervisorPropertyMappingsInputBuilder
sourcepub fn hypervisor_arn(self, input: impl Into<String>) -> Self
pub fn hypervisor_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the hypervisor.
This field is required.sourcepub fn set_hypervisor_arn(self, input: Option<String>) -> Self
pub fn set_hypervisor_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the hypervisor.
sourcepub fn get_hypervisor_arn(&self) -> &Option<String>
pub fn get_hypervisor_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the hypervisor.
sourcepub fn vmware_to_aws_tag_mappings(self, input: VmwareToAwsTagMapping) -> Self
pub fn vmware_to_aws_tag_mappings(self, input: VmwareToAwsTagMapping) -> Self
Appends an item to vmware_to_aws_tag_mappings.
To override the contents of this collection use set_vmware_to_aws_tag_mappings.
This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.
sourcepub fn set_vmware_to_aws_tag_mappings(
self,
input: Option<Vec<VmwareToAwsTagMapping>>
) -> Self
pub fn set_vmware_to_aws_tag_mappings( self, input: Option<Vec<VmwareToAwsTagMapping>> ) -> Self
This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.
sourcepub fn get_vmware_to_aws_tag_mappings(
&self
) -> &Option<Vec<VmwareToAwsTagMapping>>
pub fn get_vmware_to_aws_tag_mappings( &self ) -> &Option<Vec<VmwareToAwsTagMapping>>
This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role.
This field is required.sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role.
sourcepub fn get_iam_role_arn(&self) -> &Option<String>
pub fn get_iam_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role.
sourcepub fn build(self) -> Result<PutHypervisorPropertyMappingsInput, BuildError>
pub fn build(self) -> Result<PutHypervisorPropertyMappingsInput, BuildError>
Consumes the builder and constructs a PutHypervisorPropertyMappingsInput.
source§impl PutHypervisorPropertyMappingsInputBuilder
impl PutHypervisorPropertyMappingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutHypervisorPropertyMappingsOutput, SdkError<PutHypervisorPropertyMappingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutHypervisorPropertyMappingsOutput, SdkError<PutHypervisorPropertyMappingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutHypervisorPropertyMappingsInputBuilder
impl Clone for PutHypervisorPropertyMappingsInputBuilder
source§fn clone(&self) -> PutHypervisorPropertyMappingsInputBuilder
fn clone(&self) -> PutHypervisorPropertyMappingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutHypervisorPropertyMappingsInputBuilder
impl Default for PutHypervisorPropertyMappingsInputBuilder
source§fn default() -> PutHypervisorPropertyMappingsInputBuilder
fn default() -> PutHypervisorPropertyMappingsInputBuilder
source§impl PartialEq for PutHypervisorPropertyMappingsInputBuilder
impl PartialEq for PutHypervisorPropertyMappingsInputBuilder
source§fn eq(&self, other: &PutHypervisorPropertyMappingsInputBuilder) -> bool
fn eq(&self, other: &PutHypervisorPropertyMappingsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.