Class WorkbenchInstanceGceSetupNetworkInterfaces.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.workbench_instance.WorkbenchInstanceGceSetupNetworkInterfaces.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkbenchInstanceGceSetupNetworkInterfaces>
- Enclosing interface:
- WorkbenchInstanceGceSetupNetworkInterfaces
@Stability(Stable) public static final class WorkbenchInstanceGceSetupNetworkInterfaces.Builder extends Object implements software.amazon.jsii.Builder<WorkbenchInstanceGceSetupNetworkInterfaces>
A builder forWorkbenchInstanceGceSetupNetworkInterfaces
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
accessConfigs
@Stability(Stable) public WorkbenchInstanceGceSetupNetworkInterfaces.Builder accessConfigs(com.hashicorp.cdktf.IResolvable accessConfigs)
Sets the value ofWorkbenchInstanceGceSetupNetworkInterfaces.getAccessConfigs()- Parameters:
accessConfigs- access_configs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#access_configs WorkbenchInstance#access_configs}- Returns:
this
-
accessConfigs
@Stability(Stable) public WorkbenchInstanceGceSetupNetworkInterfaces.Builder accessConfigs(List<? extends WorkbenchInstanceGceSetupNetworkInterfacesAccessConfigs> accessConfigs)
Sets the value ofWorkbenchInstanceGceSetupNetworkInterfaces.getAccessConfigs()- Parameters:
accessConfigs- access_configs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#access_configs WorkbenchInstance#access_configs}- Returns:
this
-
network
@Stability(Stable) public WorkbenchInstanceGceSetupNetworkInterfaces.Builder network(String network)
Sets the value ofWorkbenchInstanceGceSetupNetworkInterfaces.getNetwork()- Parameters:
network- Optional. The name of the VPC that this VM instance is in. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#network WorkbenchInstance#network}- Returns:
this
-
nicType
@Stability(Stable) public WorkbenchInstanceGceSetupNetworkInterfaces.Builder nicType(String nicType)
Sets the value ofWorkbenchInstanceGceSetupNetworkInterfaces.getNicType()- Parameters:
nicType- Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Possible values: ["VIRTIO_NET", "GVNIC"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#nic_type WorkbenchInstance#nic_type}- Returns:
this
-
subnet
@Stability(Stable) public WorkbenchInstanceGceSetupNetworkInterfaces.Builder subnet(String subnet)
Sets the value ofWorkbenchInstanceGceSetupNetworkInterfaces.getSubnet()- Parameters:
subnet- Optional. The name of the subnet that this VM instance is in. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#subnet WorkbenchInstance#subnet}- Returns:
this
-
build
@Stability(Stable) public WorkbenchInstanceGceSetupNetworkInterfaces build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkbenchInstanceGceSetupNetworkInterfaces>- Returns:
- a new instance of
WorkbenchInstanceGceSetupNetworkInterfaces - Throws:
NullPointerException- if any required attribute was not provided
-
-