Class VirtualNetworkGatewayAutoScaleConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.VirtualNetworkGatewayAutoScaleConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualNetworkGatewayAutoScaleConfiguration>
public final class VirtualNetworkGatewayAutoScaleConfiguration
extends Object
implements com.azure.json.JsonSerializable<VirtualNetworkGatewayAutoScaleConfiguration>
Virtual Network Gateway Autoscale Configuration details.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualNetworkGatewayAutoScaleConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionbounds()Get the bounds property: The bounds of the autoscale configuration.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualNetworkGatewayAutoScaleConfiguration from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the bounds property: The bounds of the autoscale configuration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VirtualNetworkGatewayAutoScaleConfiguration
public VirtualNetworkGatewayAutoScaleConfiguration()Creates an instance of VirtualNetworkGatewayAutoScaleConfiguration class.
-
-
Method Details
-
bounds
Get the bounds property: The bounds of the autoscale configuration.- Returns:
- the bounds value.
-
withBounds
public VirtualNetworkGatewayAutoScaleConfiguration withBounds(VirtualNetworkGatewayAutoScaleBounds bounds) Set the bounds property: The bounds of the autoscale configuration.- Parameters:
bounds- the bounds value to set.- Returns:
- the VirtualNetworkGatewayAutoScaleConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VirtualNetworkGatewayAutoScaleConfiguration>- Throws:
IOException
-
fromJson
public static VirtualNetworkGatewayAutoScaleConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VirtualNetworkGatewayAutoScaleConfiguration from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VirtualNetworkGatewayAutoScaleConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the VirtualNetworkGatewayAutoScaleConfiguration.
-