Class DeviceProperties
- java.lang.Object
-
- com.azure.resourcemanager.network.models.DeviceProperties
-
public final class DeviceProperties extends Object
List of properties of the device.
-
-
Constructor Summary
Constructors Constructor Description DeviceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdeviceModel()Get the deviceModel property: Model of the device.StringdeviceVendor()Get the deviceVendor property: Name of the device Vendor.IntegerlinkSpeedInMbps()Get the linkSpeedInMbps property: Link speed.voidvalidate()Validates the instance.DevicePropertieswithDeviceModel(String deviceModel)Set the deviceModel property: Model of the device.DevicePropertieswithDeviceVendor(String deviceVendor)Set the deviceVendor property: Name of the device Vendor.DevicePropertieswithLinkSpeedInMbps(Integer linkSpeedInMbps)Set the linkSpeedInMbps property: Link speed.
-
-
-
Method Detail
-
deviceVendor
public String deviceVendor()
Get the deviceVendor property: Name of the device Vendor.- Returns:
- the deviceVendor value.
-
withDeviceVendor
public DeviceProperties withDeviceVendor(String deviceVendor)
Set the deviceVendor property: Name of the device Vendor.- Parameters:
deviceVendor- the deviceVendor value to set.- Returns:
- the DeviceProperties object itself.
-
deviceModel
public String deviceModel()
Get the deviceModel property: Model of the device.- Returns:
- the deviceModel value.
-
withDeviceModel
public DeviceProperties withDeviceModel(String deviceModel)
Set the deviceModel property: Model of the device.- Parameters:
deviceModel- the deviceModel value to set.- Returns:
- the DeviceProperties object itself.
-
linkSpeedInMbps
public Integer linkSpeedInMbps()
Get the linkSpeedInMbps property: Link speed.- Returns:
- the linkSpeedInMbps value.
-
withLinkSpeedInMbps
public DeviceProperties withLinkSpeedInMbps(Integer linkSpeedInMbps)
Set the linkSpeedInMbps property: Link speed.- Parameters:
linkSpeedInMbps- the linkSpeedInMbps value to set.- Returns:
- the DeviceProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-