类 ListNatRuleRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.model.ListRequest
-
- com.baidubce.services.nat.model.ListNatRuleRequest
-
public class ListNatRuleRequest extends ListRequest
The request for list all nat rule info in one specified nat.
-
-
构造器概要
构造器 构造器 说明 ListNatRuleRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ListNatRuleRequestwithNatId(String natId)Configure natId for the request.ListNatRuleRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.-
从类继承的方法 com.baidubce.model.ListRequest
getMarker, getMaxKeys, setMarker, setMaxKeys, withMarker, withMaxKeys
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withNatId
public ListNatRuleRequest withNatId(String natId)
Configure natId for the request.- 参数:
natId- The id of the nat- 返回:
- GetNatRuleRequest with the nat id
-
withRequestCredentials
public ListNatRuleRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- GetNatRuleRequest with credentials.
-
-