Class DeviceProperties
java.lang.Object
com.azure.resourcemanager.network.models.DeviceProperties
List of properties of the device.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the deviceModel property: Model of the device.Get the deviceVendor property: Name of the device Vendor.Get the linkSpeedInMbps property: Link speed.voidvalidate()Validates the instance.withDeviceModel(String deviceModel) Set the deviceModel property: Model of the device.withDeviceVendor(String deviceVendor) Set the deviceVendor property: Name of the device Vendor.withLinkSpeedInMbps(Integer linkSpeedInMbps) Set the linkSpeedInMbps property: Link speed.
-
Constructor Details
-
DeviceProperties
public DeviceProperties()Creates an instance of DeviceProperties class.
-
-
Method Details
-
deviceVendor
Get the deviceVendor property: Name of the device Vendor.- Returns:
- the deviceVendor value.
-
withDeviceVendor
Set the deviceVendor property: Name of the device Vendor.- Parameters:
deviceVendor- the deviceVendor value to set.- Returns:
- the DeviceProperties object itself.
-
deviceModel
Get the deviceModel property: Model of the device.- Returns:
- the deviceModel value.
-
withDeviceModel
Set the deviceModel property: Model of the device.- Parameters:
deviceModel- the deviceModel value to set.- Returns:
- the DeviceProperties object itself.
-
linkSpeedInMbps
Get the linkSpeedInMbps property: Link speed.- Returns:
- the linkSpeedInMbps value.
-
withLinkSpeedInMbps
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.
-