public final class Circuit
extends Object
An ExpressRoute Circuit.
-
Constructor Summary
Constructors
Creates an instance of Circuit class.
-
Method Summary
Get the expressRouteId property: Identifier of the ExpressRoute Circuit (Microsoft Colo only).
Get the expressRoutePrivatePeeringId property: ExpressRoute Circuit private peering identifier.
Get the primarySubnet property: CIDR of primary subnet.
Get the secondarySubnet property: CIDR of secondary subnet.
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Circuit
public Circuit()
Creates an instance of Circuit class.
-
Method Details
-
primarySubnet
Get the primarySubnet property: CIDR of primary subnet.
- Returns:
- the primarySubnet value.
-
secondarySubnet
public String secondarySubnet()
Get the secondarySubnet property: CIDR of secondary subnet.
- Returns:
- the secondarySubnet value.
-
expressRouteId
public String expressRouteId()
Get the expressRouteId property: Identifier of the ExpressRoute Circuit (Microsoft Colo only).
- Returns:
- the expressRouteId value.
-
expressRoutePrivatePeeringId
public String expressRoutePrivatePeeringId()
Get the expressRoutePrivatePeeringId property: ExpressRoute Circuit private peering identifier.
- Returns:
- the expressRoutePrivatePeeringId value.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.