Class VpnLinkProviderProperties
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VpnLinkProviderProperties
-
public final class VpnLinkProviderProperties extends Object
List of properties of a link provider.
-
-
Constructor Summary
Constructors Constructor Description VpnLinkProviderProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringlinkProviderName()Get the linkProviderName property: Name of the link provider.IntegerlinkSpeedInMbps()Get the linkSpeedInMbps property: Link speed.voidvalidate()Validates the instance.VpnLinkProviderPropertieswithLinkProviderName(String linkProviderName)Set the linkProviderName property: Name of the link provider.VpnLinkProviderPropertieswithLinkSpeedInMbps(Integer linkSpeedInMbps)Set the linkSpeedInMbps property: Link speed.
-
-
-
Method Detail
-
linkProviderName
public String linkProviderName()
Get the linkProviderName property: Name of the link provider.- Returns:
- the linkProviderName value.
-
withLinkProviderName
public VpnLinkProviderProperties withLinkProviderName(String linkProviderName)
Set the linkProviderName property: Name of the link provider.- Parameters:
linkProviderName- the linkProviderName value to set.- Returns:
- the VpnLinkProviderProperties object itself.
-
linkSpeedInMbps
public Integer linkSpeedInMbps()
Get the linkSpeedInMbps property: Link speed.- Returns:
- the linkSpeedInMbps value.
-
withLinkSpeedInMbps
public VpnLinkProviderProperties withLinkSpeedInMbps(Integer linkSpeedInMbps)
Set the linkSpeedInMbps property: Link speed.- Parameters:
linkSpeedInMbps- the linkSpeedInMbps value to set.- Returns:
- the VpnLinkProviderProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-