Class GatewayRouteSetsInformationInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.GatewayRouteSetsInformationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<GatewayRouteSetsInformationInner>
public final class GatewayRouteSetsInformationInner
extends Object
implements com.azure.json.JsonSerializable<GatewayRouteSetsInformationInner>
Gateway Route Sets Information.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GatewayRouteSetsInformationInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the circuitsMetadataMap property: Dictionary containing map of the circuit id and circuit details.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GatewayRouteSetsInformationInner from the JsonReader.Get the lastComputedTime property: Timestamp denoting the last time when the route sets were computed for the gateway.Get the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the route sets for the gateway.Get the routeSets property: List of Gateway Route Sets.Get the routeSetVersion property: Version for the route set.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCircuitsMetadataMap(Map<String, CircuitMetadataMap> circuitsMetadataMap) Set the circuitsMetadataMap property: Dictionary containing map of the circuit id and circuit details.withLastComputedTime(OffsetDateTime lastComputedTime) Set the lastComputedTime property: Timestamp denoting the last time when the route sets were computed for the gateway.withNextEligibleComputeTime(OffsetDateTime nextEligibleComputeTime) Set the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the route sets for the gateway.withRouteSets(List<GatewayRouteSet> routeSets) Set the routeSets property: List of Gateway Route Sets.withRouteSetVersion(String routeSetVersion) Set the routeSetVersion property: Version for the route set.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
-
GatewayRouteSetsInformationInner
public GatewayRouteSetsInformationInner()Creates an instance of GatewayRouteSetsInformationInner class.
-
-
Method Details
-
lastComputedTime
Get the lastComputedTime property: Timestamp denoting the last time when the route sets were computed for the gateway.- Returns:
- the lastComputedTime value.
-
withLastComputedTime
Set the lastComputedTime property: Timestamp denoting the last time when the route sets were computed for the gateway.- Parameters:
lastComputedTime- the lastComputedTime value to set.- Returns:
- the GatewayRouteSetsInformationInner object itself.
-
nextEligibleComputeTime
Get the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the route sets for the gateway.- Returns:
- the nextEligibleComputeTime value.
-
withNextEligibleComputeTime
public GatewayRouteSetsInformationInner withNextEligibleComputeTime(OffsetDateTime nextEligibleComputeTime) Set the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the route sets for the gateway.- Parameters:
nextEligibleComputeTime- the nextEligibleComputeTime value to set.- Returns:
- the GatewayRouteSetsInformationInner object itself.
-
routeSetVersion
Get the routeSetVersion property: Version for the route set.- Returns:
- the routeSetVersion value.
-
withRouteSetVersion
Set the routeSetVersion property: Version for the route set.- Parameters:
routeSetVersion- the routeSetVersion value to set.- Returns:
- the GatewayRouteSetsInformationInner object itself.
-
routeSets
Get the routeSets property: List of Gateway Route Sets.- Returns:
- the routeSets value.
-
withRouteSets
Set the routeSets property: List of Gateway Route Sets.- Parameters:
routeSets- the routeSets value to set.- Returns:
- the GatewayRouteSetsInformationInner object itself.
-
circuitsMetadataMap
Get the circuitsMetadataMap property: Dictionary containing map of the circuit id and circuit details.- Returns:
- the circuitsMetadataMap value.
-
withCircuitsMetadataMap
public GatewayRouteSetsInformationInner withCircuitsMetadataMap(Map<String, CircuitMetadataMap> circuitsMetadataMap) Set the circuitsMetadataMap property: Dictionary containing map of the circuit id and circuit details.- Parameters:
circuitsMetadataMap- the circuitsMetadataMap value to set.- Returns:
- the GatewayRouteSetsInformationInner 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<GatewayRouteSetsInformationInner>- Throws:
IOException
-
fromJson
public static GatewayRouteSetsInformationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of GatewayRouteSetsInformationInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of GatewayRouteSetsInformationInner 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 GatewayRouteSetsInformationInner.
-