com.baidubce.services.iotdm.model
Class CreateDevicesRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.iotdm.model.CreateDevicesRequest

public class CreateDevicesRequest
extends AbstractBceRequest

Represent the request for creating devices.


Constructor Summary
CreateDevicesRequest()
           
 
Method Summary
 int getAmount()
           
 String getDescription()
           
 List<String> getDevices()
           
 String getParent()
           
 boolean isBootstrap()
           
 void setAmount(int amount)
           
 void setBootstrap(boolean bootstrap)
           
 void setDescription(String description)
           
 void setDevices(List<String> devices)
           
 void setParent(String parent)
           
 CreateDevicesRequest withAmount(int amount)
           
 CreateDevicesRequest withBootstrap(boolean bootstrap)
           
 CreateDevicesRequest withRequestCredentials(BceCredentials credentials)
           
 
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

CreateDevicesRequest

public CreateDevicesRequest()
Method Detail

setAmount

public void setAmount(int amount)

getAmount

public int getAmount()

withAmount

public CreateDevicesRequest withAmount(int amount)

setDevices

public void setDevices(List<String> devices)

getDevices

public List<String> getDevices()

setParent

public void setParent(String parent)

getParent

public String getParent()

setDescription

public void setDescription(String description)

getDescription

public String getDescription()

setBootstrap

public void setBootstrap(boolean bootstrap)

isBootstrap

public boolean isBootstrap()

withBootstrap

public CreateDevicesRequest withBootstrap(boolean bootstrap)

withRequestCredentials

public CreateDevicesRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest


Copyright © 2018. All rights reserved.