Class CfnHypervisor.Builder

java.lang.Object
software.amazon.awscdk.services.backupgateway.CfnHypervisor.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHypervisor>
Enclosing class:
CfnHypervisor

@Stability(Stable) public static final class CfnHypervisor.Builder extends Object implements software.amazon.jsii.Builder<CfnHypervisor>
A fluent builder for CfnHypervisor.
  • Method Details

    • create

      @Stability(Stable) public static CfnHypervisor.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnHypervisor.Builder.
    • host

      @Stability(Stable) public CfnHypervisor.Builder host(String 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 parameter is required.
      Returns:
      this
    • kmsKeyArn

      @Stability(Stable) public CfnHypervisor.Builder kmsKeyArn(String kmsKeyArn)
      The Amazon Resource Name (ARN) of the AWS Key Management Service used to encrypt the hypervisor.

      Parameters:
      kmsKeyArn - The Amazon Resource Name (ARN) of the AWS Key Management Service used to encrypt the hypervisor. This parameter is required.
      Returns:
      this
    • logGroupArn

      @Stability(Stable) public CfnHypervisor.Builder logGroupArn(String logGroupArn)
      The Amazon Resource Name (ARN) of the group of gateways within the requested log.

      Parameters:
      logGroupArn - The Amazon Resource Name (ARN) of the group of gateways within the requested log. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnHypervisor.Builder name(String name)
      The name of the hypervisor.

      Parameters:
      name - The name of the hypervisor. This parameter is required.
      Returns:
      this
    • password

      @Stability(Stable) public CfnHypervisor.Builder password(String password)
      The password for the hypervisor.

      Parameters:
      password - The password for the hypervisor. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnHypervisor.Builder tags(List<? extends CfnTag> tags)
      The tags of the hypervisor configuration to import.

      Parameters:
      tags - The tags of the hypervisor configuration to import. This parameter is required.
      Returns:
      this
    • username

      @Stability(Stable) public CfnHypervisor.Builder username(String username)
      The username for the hypervisor.

      Parameters:
      username - The username for the hypervisor. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnHypervisor build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnHypervisor>
      Returns:
      a newly built instance of CfnHypervisor.