VpnLinkProviderProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VpnLinkProviderProperties
- com.
Implements
public final class VpnLinkProviderProperties
implements JsonSerializable<VpnLinkProviderProperties>
List of properties of a link provider.
Constructor Summary
Constructor | Description |
---|---|
VpnLinkProviderProperties() |
Creates an instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
String |
linkProviderName()
Get the link |
Integer |
linkSpeedInMbps()
Get the link |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vpn |
withLinkProviderName(String linkProviderName)
Set the link |
Vpn |
withLinkSpeedInMbps(Integer linkSpeedInMbps)
Set the link |
Methods inherited from java.lang.Object
Constructor Details
VpnLinkProviderProperties
public VpnLinkProviderProperties()
Creates an instance of VpnLinkProviderProperties class.
Method Details
fromJson
public static VpnLinkProviderProperties fromJson(JsonReader jsonReader)
Reads an instance of VpnLinkProviderProperties from the JsonReader.
Parameters:
Returns:
Throws:
linkProviderName
public String linkProviderName()
Get the linkProviderName property: Name of the link provider.
Returns:
linkSpeedInMbps
public Integer linkSpeedInMbps()
Get the linkSpeedInMbps property: Link speed.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLinkProviderName
public VpnLinkProviderProperties withLinkProviderName(String linkProviderName)
Set the linkProviderName property: Name of the link provider.
Parameters:
Returns:
withLinkSpeedInMbps
public VpnLinkProviderProperties withLinkSpeedInMbps(Integer linkSpeedInMbps)
Set the linkSpeedInMbps property: Link speed.
Parameters:
Returns:
Applies to
Azure SDK for Java