com.baidubce.services.subnet.model
Class GetSubnetRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.subnet.model.GetSubnetRequest

public class GetSubnetRequest
extends AbstractBceRequest

The request for getting subnet


Constructor Summary
GetSubnetRequest()
           
 
Method Summary
 String getSubnetId()
           
 void setSubnetId(String subnetId)
           
 GetSubnetRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 GetSubnetRequest withSubnetId(String subnetId)
          Configure the subnetId for the request.
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetSubnetRequest

public GetSubnetRequest()
Method Detail

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.