Interface ImportHypervisorConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupGatewayRequest.Builder,Buildable,CopyableBuilder<ImportHypervisorConfigurationRequest.Builder,,ImportHypervisorConfigurationRequest> SdkBuilder<ImportHypervisorConfigurationRequest.Builder,,ImportHypervisorConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ImportHypervisorConfigurationRequest
public static interface ImportHypervisorConfigurationRequest.Builder
extends BackupGatewayRequest.Builder, SdkPojo, CopyableBuilder<ImportHypervisorConfigurationRequest.Builder,ImportHypervisorConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe server host of the hypervisor.The Key Management Service for the hypervisor.The name of the hypervisor.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The password for the hypervisor.tags(Collection<Tag> tags) The tags of the hypervisor configuration to import.tags(Consumer<Tag.Builder>... tags) The tags of the hypervisor configuration to import.The tags of the hypervisor configuration to import.The username for the hypervisor.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.backupgateway.model.BackupGatewayRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
host
The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
- Parameters:
host- The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Key Management Service for the hypervisor.
- Parameters:
kmsKeyArn- The Key Management Service for the hypervisor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the hypervisor.
- Parameters:
name- The name of the hypervisor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
The password for the hypervisor.
- Parameters:
password- The password for the hypervisor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags of the hypervisor configuration to import.
- Parameters:
tags- The tags of the hypervisor configuration to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags of the hypervisor configuration to import.
- Parameters:
tags- The tags of the hypervisor configuration to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags of the hypervisor configuration to import.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
username
The username for the hypervisor.
- Parameters:
username- The username for the hypervisor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ImportHypervisorConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportHypervisorConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-