public static final class ModifyDBClusterAccessWhitelistRequest.Builder extends Object
public ModifyDBClusterAccessWhitelistRequest.Builder DBClusterIPArrayAttribute(String DBClusterIPArrayAttribute)
> * The IP whitelist group that has appeared in the console cannot be hidden. > * This parameter can be specified only when the **WhiteListType** parameter is set to **IP**.
public ModifyDBClusterAccessWhitelistRequest.Builder DBClusterIPArrayName(String DBClusterIPArrayName)
* If the specified whitelist group name does not exist, the whitelist group is created. * If the specified whitelist group name exists, the whitelist group is modified. * If you do not specify this parameter, the default group is modified. > * You can create a maximum of 50 IP whitelist groups for a cluster. * This parameter can be specified only when the **WhiteListType** parameter is set to **IP**.
public ModifyDBClusterAccessWhitelistRequest.Builder DBClusterId(String DBClusterId)
public ModifyDBClusterAccessWhitelistRequest.Builder modifyMode(String modifyMode)
* **Cover** (default): overwrites the original IP whitelist. * **Append**: appends IP addresses to the original whitelist. * **Delete**: deletes IP addresses. > This parameter can be specified only when the **WhiteListType** parameter is set to **IP**.
public ModifyDBClusterAccessWhitelistRequest.Builder ownerAccount(String ownerAccount)
public ModifyDBClusterAccessWhitelistRequest.Builder ownerId(Long ownerId)
public ModifyDBClusterAccessWhitelistRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyDBClusterAccessWhitelistRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyDBClusterAccessWhitelistRequest.Builder securityGroupIds(String securityGroupIds)
> * You can add a maximum of three security groups to a cluster. > * This parameter can be specified only when the **WhiteListType** parameter is set to **SecurityGroup**.
public ModifyDBClusterAccessWhitelistRequest.Builder securityIps(String securityIps)
* IP addresses. Example: 10.23.12.24. * CIDR blocks. Example: 10.23.12.24/24. 24 indicates the length of the prefix of the CIDR block. The length is the range of 1 to 32. > This parameter can be specified only when the **WhiteListType** parameter is set to **IP**.
public ModifyDBClusterAccessWhitelistRequest.Builder whiteListType(String whiteListType)
* **IP**: IP whitelist group. * **SecurityGroup**: security group. Default value: **IP**.
public ModifyDBClusterAccessWhitelistRequest build()
Copyright © 2024. All rights reserved.