DeviceProperties Class
- java.
lang. Object - com.
microsoft. azure. management. network. DeviceProperties
- com.
public class DeviceProperties
List of properties of the device.
Constructor Summary
Constructor | Description | |
---|---|---|
DeviceProperties() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
deviceModel()
Get model of the device. |
java.lang.String |
deviceVendor()
Get name of the device Vendor. |
java.lang.Integer |
linkSpeedInMbps()
Get link speed. |
Device |
withDeviceModel(String deviceModel)
Set model of the device. |
Device |
withDeviceVendor(String deviceVendor)
Set name of the device Vendor. |
Device |
withLinkSpeedInMbps(Integer linkSpeedInMbps)
Set link speed. |
Methods inherited from java.lang.Object
Constructor Details
DeviceProperties
public DeviceProperties()
Method Details
deviceModel
public String deviceModel()
Get model of the device.
Returns:
deviceVendor
public String deviceVendor()
Get name of the device Vendor.
Returns:
linkSpeedInMbps
public Integer linkSpeedInMbps()
Get link speed.
Returns:
withDeviceModel
public DeviceProperties withDeviceModel(String deviceModel)
Set model of the device.
Parameters:
Returns:
withDeviceVendor
public DeviceProperties withDeviceVendor(String deviceVendor)
Set name of the device Vendor.
Parameters:
Returns:
withLinkSpeedInMbps
public DeviceProperties withLinkSpeedInMbps(Integer linkSpeedInMbps)
Set link speed.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for