类 DeviceRuleRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.iotdm.model.v3.rules.DeviceRuleRequest
-
- 直接已知子类:
DeviceFormatRuleRequest
public class DeviceRuleRequest extends AbstractBceRequest
-
-
构造器概要
构造器 构造器 说明 DeviceRuleRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<DeviceRuleDestination>getDestinations()StringgetName()List<DeviceRuleSource>getSources()voidsetDestinations(List<DeviceRuleDestination> destinations)voidsetName(String name)voidsetSources(List<DeviceRuleSource> sources)DeviceRuleRequestwithDestinations(List<DeviceRuleDestination> destinations)DeviceRuleRequestwithName(String name)AbstractBceRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.DeviceRuleRequestwithSources(List<DeviceRuleSource> sources)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getName
public String getName()
-
setName
public void setName(String name)
-
withName
public DeviceRuleRequest withName(String name)
-
getSources
public List<DeviceRuleSource> getSources()
-
setSources
public void setSources(List<DeviceRuleSource> sources)
-
withSources
public DeviceRuleRequest withSources(List<DeviceRuleSource> sources)
-
getDestinations
public List<DeviceRuleDestination> getDestinations()
-
setDestinations
public void setDestinations(List<DeviceRuleDestination> destinations)
-
withDestinations
public DeviceRuleRequest withDestinations(List<DeviceRuleDestination> destinations)
-
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- DeviceRuleRequest with credentials.
-
-