public static final class CreateHaVipRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateHaVipRequest |
build() |
CreateHaVipRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateHaVipRequest.Builder |
description(String description)
The description of the HAVIP.
|
CreateHaVipRequest.Builder |
ipAddress(String ipAddress)
The IP address of the HAVIP.
|
CreateHaVipRequest.Builder |
name(String name)
The name of the HAVIP.
|
CreateHaVipRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateHaVipRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateHaVipRequest.Builder |
regionId(String regionId)
The region ID of the HAVIP.
|
CreateHaVipRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the HAVIP belongs.
|
CreateHaVipRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateHaVipRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateHaVipRequest.Builder |
tag(List<CreateHaVipRequest.Tag> tag)
The tag of the resource.
|
CreateHaVipRequest.Builder |
vSwitchId(String vSwitchId)
The ID of the vSwitch to which the HAVIP belongs.
|
public CreateHaVipRequest.Builder clientToken(String clientToken)
You can use the client to generate the value, but you must make sure that the value is unique among all requests. The token can contain only ASCII characters. > If you do not specify this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different.
public CreateHaVipRequest.Builder description(String description)
The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.
public CreateHaVipRequest.Builder ipAddress(String ipAddress)
The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.
public CreateHaVipRequest.Builder name(String name)
The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
public CreateHaVipRequest.Builder ownerAccount(String ownerAccount)
public CreateHaVipRequest.Builder ownerId(Long ownerId)
public CreateHaVipRequest.Builder regionId(String regionId)
public CreateHaVipRequest.Builder resourceGroupId(String resourceGroupId)
public CreateHaVipRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateHaVipRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateHaVipRequest.Builder tag(List<CreateHaVipRequest.Tag> tag)
public CreateHaVipRequest.Builder vSwitchId(String vSwitchId)
public CreateHaVipRequest build()
Copyright © 2024. All rights reserved.