类 BindEipRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.nat.model.BindEipRequest
-
public class BindEipRequest extends AbstractBceRequest
The request for nat binding eip.
-
-
构造器概要
构造器 构造器 说明 BindEipRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetClientToken()List<String>getEips()StringgetNatId()voidsetClientToken(String clientToken)voidsetEips(List<String> eips)voidsetNatId(String natId)BindEipRequestwithEips(List<String> eips)Configure eips for the request.BindEipRequestwithNatId(String natId)Configure natId for the request.AbstractBceRequestwithRequestCredentials(BceCredentials credentials)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withNatId
public BindEipRequest withNatId(String natId)
Configure natId for the request.- 参数:
natId- NatId to be bound- 返回:
- BindEipRequest with specific natId
-
withEips
public BindEipRequest withEips(List<String> eips)
Configure eips for the request.- 参数:
eips- Eip addresses to be bound- 返回:
- BindEipRequest with specific eips
-
getNatId
public String getNatId()
-
setNatId
public void setNatId(String natId)
-
getClientToken
public String getClientToken()
-
setClientToken
public void setClientToken(String clientToken)
-
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
-