public final class DeviceProperties extends Object
| Constructor and Description |
|---|
DeviceProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
deviceModel()
Get the deviceModel property: Model of the device.
|
String |
deviceVendor()
Get the deviceVendor property: Name of the device Vendor.
|
Integer |
linkSpeedInMbps()
Get the linkSpeedInMbps property: Link speed.
|
void |
validate()
Validates the instance.
|
DeviceProperties |
withDeviceModel(String deviceModel)
Set the deviceModel property: Model of the device.
|
DeviceProperties |
withDeviceVendor(String deviceVendor)
Set the deviceVendor property: Name of the device Vendor.
|
DeviceProperties |
withLinkSpeedInMbps(Integer linkSpeedInMbps)
Set the linkSpeedInMbps property: Link speed.
|
public String deviceVendor()
public DeviceProperties withDeviceVendor(String deviceVendor)
deviceVendor - the deviceVendor value to set.public String deviceModel()
public DeviceProperties withDeviceModel(String deviceModel)
deviceModel - the deviceModel value to set.public Integer linkSpeedInMbps()
public DeviceProperties withLinkSpeedInMbps(Integer linkSpeedInMbps)
linkSpeedInMbps - the linkSpeedInMbps value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.