public static final class ModifyVpcAccessAndUpdateApisRequest.Builder extends Object
public ModifyVpcAccessAndUpdateApisRequest.Builder instanceId(String instanceId)
public ModifyVpcAccessAndUpdateApisRequest.Builder name(String name)
> * The name of a VPC authorization cannot be changed. You cannot use this parameter to change the name of a VPC authorization. * You must set this parameter to the name of the current VPC authorization.
public ModifyVpcAccessAndUpdateApisRequest.Builder needBatchWork(Boolean needBatchWork)
** **Warning:** If you want to update the VPC authorization of a published API, you must set this parameter to true. Otherwise, the update will not be synchronized to the backend service of the API.
public ModifyVpcAccessAndUpdateApisRequest.Builder port(Integer port)
public ModifyVpcAccessAndUpdateApisRequest.Builder refresh(Boolean refresh)
> * If the ID of the instance in your VPC is changed but the IP address of the instance remains unchanged, you can set this parameter to true to update the VPC authorization.
public ModifyVpcAccessAndUpdateApisRequest.Builder securityToken(String securityToken)
public ModifyVpcAccessAndUpdateApisRequest.Builder token(String token)
public ModifyVpcAccessAndUpdateApisRequest.Builder vpcId(String vpcId)
public ModifyVpcAccessAndUpdateApisRequest.Builder vpcTargetHostName(String vpcTargetHostName)
public ModifyVpcAccessAndUpdateApisRequest build()
Copyright © 2024. All rights reserved.