Class VmwareenginePrivateCloudManagementClusterStretchedClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vmwareengine_private_cloud.VmwareenginePrivateCloudManagementClusterStretchedClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VmwareenginePrivateCloudManagementClusterStretchedClusterConfig>
- Enclosing interface:
- VmwareenginePrivateCloudManagementClusterStretchedClusterConfig
@Stability(Stable) public static final class VmwareenginePrivateCloudManagementClusterStretchedClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<VmwareenginePrivateCloudManagementClusterStretchedClusterConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VmwareenginePrivateCloudManagementClusterStretchedClusterConfigbuild()Builds the configured instance.VmwareenginePrivateCloudManagementClusterStretchedClusterConfig.BuilderpreferredLocation(String preferredLocation)VmwareenginePrivateCloudManagementClusterStretchedClusterConfig.BuildersecondaryLocation(String secondaryLocation)
-
-
-
Method Detail
-
preferredLocation
@Stability(Stable) public VmwareenginePrivateCloudManagementClusterStretchedClusterConfig.Builder preferredLocation(String preferredLocation)
Sets the value ofVmwareenginePrivateCloudManagementClusterStretchedClusterConfig.getPreferredLocation()- Parameters:
preferredLocation- Zone that will remain operational when connection between the two zones is lost. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#preferred_location VmwareenginePrivateCloud#preferred_location}- Returns:
this
-
secondaryLocation
@Stability(Stable) public VmwareenginePrivateCloudManagementClusterStretchedClusterConfig.Builder secondaryLocation(String secondaryLocation)
Sets the value ofVmwareenginePrivateCloudManagementClusterStretchedClusterConfig.getSecondaryLocation()- Parameters:
secondaryLocation- Additional zone for a higher level of availability and load balancing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#secondary_location VmwareenginePrivateCloud#secondary_location}- Returns:
this
-
build
@Stability(Stable) public VmwareenginePrivateCloudManagementClusterStretchedClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VmwareenginePrivateCloudManagementClusterStretchedClusterConfig>- Returns:
- a new instance of
VmwareenginePrivateCloudManagementClusterStretchedClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-