Interface PutHypervisorPropertyMappingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BackupGatewayRequest.Builder
,Buildable
,CopyableBuilder<PutHypervisorPropertyMappingsRequest.Builder,
,PutHypervisorPropertyMappingsRequest> SdkBuilder<PutHypervisorPropertyMappingsRequest.Builder,
,PutHypervisorPropertyMappingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutHypervisorPropertyMappingsRequest
public static interface PutHypervisorPropertyMappingsRequest.Builder
extends BackupGatewayRequest.Builder, SdkPojo, CopyableBuilder<PutHypervisorPropertyMappingsRequest.Builder,PutHypervisorPropertyMappingsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionhypervisorArn
(String hypervisorArn) The Amazon Resource Name (ARN) of the hypervisor.iamRoleArn
(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.vmwareToAwsTagMappings
(Collection<VmwareToAwsTagMapping> vmwareToAwsTagMappings) This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.vmwareToAwsTagMappings
(Consumer<VmwareToAwsTagMapping.Builder>... vmwareToAwsTagMappings) This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.vmwareToAwsTagMappings
(VmwareToAwsTagMapping... vmwareToAwsTagMappings) This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.backupgateway.model.BackupGatewayRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hypervisorArn
The Amazon Resource Name (ARN) of the hypervisor.
- Parameters:
hypervisorArn
- The Amazon Resource Name (ARN) of the hypervisor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
The Amazon Resource Name (ARN) of the IAM role.
- Parameters:
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmwareToAwsTagMappings
PutHypervisorPropertyMappingsRequest.Builder vmwareToAwsTagMappings(Collection<VmwareToAwsTagMapping> vmwareToAwsTagMappings) This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.
- Parameters:
vmwareToAwsTagMappings
- This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmwareToAwsTagMappings
PutHypervisorPropertyMappingsRequest.Builder vmwareToAwsTagMappings(VmwareToAwsTagMapping... vmwareToAwsTagMappings) This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.
- Parameters:
vmwareToAwsTagMappings
- This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmwareToAwsTagMappings
PutHypervisorPropertyMappingsRequest.Builder vmwareToAwsTagMappings(Consumer<VmwareToAwsTagMapping.Builder>... vmwareToAwsTagMappings) This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.
This is a convenience method that creates an instance of theVmwareToAwsTagMapping.Builder
avoiding the need to create one manually viaVmwareToAwsTagMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovmwareToAwsTagMappings(List<VmwareToAwsTagMapping>)
.- Parameters:
vmwareToAwsTagMappings
- a consumer that will call methods onVmwareToAwsTagMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutHypervisorPropertyMappingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutHypervisorPropertyMappingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-