类 GetSubnetRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.subnet.model.GetSubnetRequest
-
public class GetSubnetRequest extends AbstractBceRequest
The request for getting subnet
-
-
构造器概要
构造器 构造器 说明 GetSubnetRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetSubnetId()voidsetSubnetId(String subnetId)GetSubnetRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.GetSubnetRequestwithSubnetId(String subnetId)Configure the subnetId for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getSubnetId
public String getSubnetId()
-
setSubnetId
public void setSubnetId(String subnetId)
-
withSubnetId
public GetSubnetRequest withSubnetId(String subnetId)
Configure the subnetId for the request.- 参数:
subnetId- The id of subnet.- 返回:
- GetSubnetRequest with specified subnetId.
-
withRequestCredentials
public GetSubnetRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- GetSubnetRequest with credentials.
-
-