public static final class EnableCenVbrHealthCheckRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
EnableCenVbrHealthCheckRequest |
build() |
EnableCenVbrHealthCheckRequest.Builder |
cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
|
EnableCenVbrHealthCheckRequest.Builder |
description(String description)
The description of the health check.
|
EnableCenVbrHealthCheckRequest.Builder |
healthCheckInterval(Integer healthCheckInterval)
The time interval at which probe packets are sent during a health check.
|
EnableCenVbrHealthCheckRequest.Builder |
healthCheckOnly(Boolean healthCheckOnly)
Specifies whether to enable probing during the health check.
|
EnableCenVbrHealthCheckRequest.Builder |
healthCheckSourceIp(String healthCheckSourceIp)
The source IP address for the health check.
|
EnableCenVbrHealthCheckRequest.Builder |
healthCheckTargetIp(String healthCheckTargetIp)
The destination IP address for the health check.
|
EnableCenVbrHealthCheckRequest.Builder |
healthyThreshold(Integer healthyThreshold)
The number of probe packets that are sent during a health check.
|
EnableCenVbrHealthCheckRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
EnableCenVbrHealthCheckRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
EnableCenVbrHealthCheckRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
EnableCenVbrHealthCheckRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
EnableCenVbrHealthCheckRequest.Builder |
vbrInstanceId(String vbrInstanceId)
The ID of the VBR.
|
EnableCenVbrHealthCheckRequest.Builder |
vbrInstanceOwnerId(Long vbrInstanceOwnerId)
The ID of the Alibaba Cloud account to which the VBR belongs.
|
EnableCenVbrHealthCheckRequest.Builder |
vbrInstanceRegionId(String vbrInstanceRegionId)
The ID of the region where the VBR is deployed.
|
public EnableCenVbrHealthCheckRequest.Builder cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
This parameter is required.
example:cen-hahhfskfkseig****
public EnableCenVbrHealthCheckRequest.Builder description(String description)
The description of the health check.
The description must be 1 to 256 characters in length, and cannot start with http://
or https://
.
testdesc
public EnableCenVbrHealthCheckRequest.Builder healthCheckInterval(Integer healthCheckInterval)
The time interval at which probe packets are sent during a health check. Unit: seconds. Default value: 2. Valid values: 2 to 3.
example:2
public EnableCenVbrHealthCheckRequest.Builder healthCheckOnly(Boolean healthCheckOnly)
Specifies whether to enable probing during the health check. Valid values:
true: yes
If you enable probing, the system does not switch to another route if the detected route is not reachable.
Make sure that a redundant route is available. Otherwise, network disconnections may occur.
false (default): no
Probing is disabled by default. If a redundant route is specified, the system switches to the redundant route if the detected route is not reachable.
false
public EnableCenVbrHealthCheckRequest.Builder healthCheckSourceIp(String healthCheckSourceIp)
The source IP address for the health check. You can set the source IP address in the following ways:
192.XX.XX.1
public EnableCenVbrHealthCheckRequest.Builder healthCheckTargetIp(String healthCheckTargetIp)
The destination IP address for the health check.
Set the destination IP address to the IP address of the VBR on the customer side.
This parameter is required.
example:10.XX.XX.1
public EnableCenVbrHealthCheckRequest.Builder healthyThreshold(Integer healthyThreshold)
The number of probe packets that are sent during a health check. Unit: packets. Valid values: 3 to 8. Default value: 8.
example:8
public EnableCenVbrHealthCheckRequest.Builder ownerAccount(String ownerAccount)
public EnableCenVbrHealthCheckRequest.Builder ownerId(Long ownerId)
public EnableCenVbrHealthCheckRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public EnableCenVbrHealthCheckRequest.Builder resourceOwnerId(Long resourceOwnerId)
public EnableCenVbrHealthCheckRequest.Builder vbrInstanceId(String vbrInstanceId)
The ID of the VBR.
This parameter is required.
example:vbr-wz95o9aylj181n5mzk****
public EnableCenVbrHealthCheckRequest.Builder vbrInstanceOwnerId(Long vbrInstanceOwnerId)
The ID of the Alibaba Cloud account to which the VBR belongs.
example:This parameter is required if the VBR and the CEN instance belong to different Alibaba Cloud accounts.
1250123456123456
public EnableCenVbrHealthCheckRequest.Builder vbrInstanceRegionId(String vbrInstanceRegionId)
The ID of the region where the VBR is deployed.
You can call the DescribeChildInstanceRegions operation to query the most recent region list.
This parameter is required.
example:cn-shenzhen
public EnableCenVbrHealthCheckRequest build()
Copyright © 2025. All rights reserved.