Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import com.fasterxml.jackson.annotation.JsonProperty;
List of properties of the device.
/** * List of properties of the device. */
public class DeviceProperties {
Name of the device Vendor.
/** * Name of the device Vendor. */
@JsonProperty(value = "deviceVendor") private String deviceVendor;
Model of the device.
/** * Model of the device. */
@JsonProperty(value = "deviceModel") private String deviceModel;
Link speed.
/** * Link speed. */
@JsonProperty(value = "linkSpeedInMbps") private Integer linkSpeedInMbps;
Get name of the device Vendor.
Returns:the deviceVendor value
/** * Get name of the device Vendor. * * @return the deviceVendor value */
public String deviceVendor() { return this.deviceVendor; }
Set name of the device Vendor.
Params:
  • deviceVendor – the deviceVendor value to set
Returns:the DeviceProperties object itself.
/** * Set name of the device Vendor. * * @param deviceVendor the deviceVendor value to set * @return the DeviceProperties object itself. */
public DeviceProperties withDeviceVendor(String deviceVendor) { this.deviceVendor = deviceVendor; return this; }
Get model of the device.
Returns:the deviceModel value
/** * Get model of the device. * * @return the deviceModel value */
public String deviceModel() { return this.deviceModel; }
Set model of the device.
Params:
  • deviceModel – the deviceModel value to set
Returns:the DeviceProperties object itself.
/** * Set model of the device. * * @param deviceModel the deviceModel value to set * @return the DeviceProperties object itself. */
public DeviceProperties withDeviceModel(String deviceModel) { this.deviceModel = deviceModel; return this; }
Get link speed.
Returns:the linkSpeedInMbps value
/** * Get link speed. * * @return the linkSpeedInMbps value */
public Integer linkSpeedInMbps() { return this.linkSpeedInMbps; }
Set link speed.
Params:
  • linkSpeedInMbps – the linkSpeedInMbps value to set
Returns:the DeviceProperties object itself.
/** * Set link speed. * * @param linkSpeedInMbps the linkSpeedInMbps value to set * @return the DeviceProperties object itself. */
public DeviceProperties withLinkSpeedInMbps(Integer linkSpeedInMbps) { this.linkSpeedInMbps = linkSpeedInMbps; return this; } }