Class CfnHypervisorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backupgateway.CfnHypervisorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHypervisorMixinProps>
- Enclosing interface:
CfnHypervisorMixinProps
@Stability(Stable)
public static final class CfnHypervisorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHypervisorMixinProps>
A builder for
CfnHypervisorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnHypervisorMixinProps.getHost()Sets the value ofCfnHypervisorMixinProps.getKmsKeyArn()logGroupArn(String logGroupArn) Sets the value ofCfnHypervisorMixinProps.getLogGroupArn()Sets the value ofCfnHypervisorMixinProps.getName()Sets the value ofCfnHypervisorMixinProps.getPassword()Sets the value ofCfnHypervisorMixinProps.getTags()Sets the value ofCfnHypervisorMixinProps.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
host
Sets the value ofCfnHypervisorMixinProps.getHost()- Parameters:
host- The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).- Returns:
this
-
kmsKeyArn
Sets the value ofCfnHypervisorMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the AWS Key Management Service used to encrypt the hypervisor.- Returns:
this
-
logGroupArn
Sets the value ofCfnHypervisorMixinProps.getLogGroupArn()- Parameters:
logGroupArn- The Amazon Resource Name (ARN) of the group of gateways within the requested log.- Returns:
this
-
name
Sets the value ofCfnHypervisorMixinProps.getName()- Parameters:
name- The name of the hypervisor.- Returns:
this
-
password
Sets the value ofCfnHypervisorMixinProps.getPassword()- Parameters:
password- The password for the hypervisor.- Returns:
this
-
tags
Sets the value ofCfnHypervisorMixinProps.getTags()- Parameters:
tags- The tags of the hypervisor configuration to import.- Returns:
this
-
username
Sets the value ofCfnHypervisorMixinProps.getUsername()- Parameters:
username- The username for the hypervisor.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHypervisorMixinProps>- Returns:
- a new instance of
CfnHypervisorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-