com.baidubce.services.subnet.model
Class GetSubnetRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.subnet.model.GetSubnetRequest
public class GetSubnetRequest
- extends AbstractBceRequest
The request for getting subnet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetSubnetRequest
public GetSubnetRequest()
getSubnetId
public String getSubnetId()
setSubnetId
public void setSubnetId(String subnetId)
withSubnetId
public GetSubnetRequest withSubnetId(String subnetId)
- Configure the subnetId for the request.
- Parameters:
subnetId
- The id of subnet.
- Returns:
- GetSubnetRequest with specified subnetId.
withRequestCredentials
public GetSubnetRequest withRequestCredentials(BceCredentials credentials)
- Configure request credential for the request.
- Specified by:
withRequestCredentials
in class AbstractBceRequest
- Parameters:
credentials
- a valid instance of BceCredentials.
- Returns:
- GetSubnetRequest with credentials.
Copyright © 2018. All rights reserved.