Class ExpressRoutePortPropertiesFormat

java.lang.Object
com.azure.resourcemanager.network.fluent.models.ExpressRoutePortPropertiesFormat
All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRoutePortPropertiesFormat>

public final class ExpressRoutePortPropertiesFormat extends Object implements com.azure.json.JsonSerializable<ExpressRoutePortPropertiesFormat>
ExpressRoutePort Properties Properties specific to ExpressRoutePort resources.
  • Constructor Details

    • ExpressRoutePortPropertiesFormat

      public ExpressRoutePortPropertiesFormat()
      Creates an instance of ExpressRoutePortPropertiesFormat class.
  • Method Details

    • peeringLocation

      public String peeringLocation()
      Get the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.
      Returns:
      the peeringLocation value.
    • withPeeringLocation

      public ExpressRoutePortPropertiesFormat withPeeringLocation(String peeringLocation)
      Set the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.
      Parameters:
      peeringLocation - the peeringLocation value to set.
      Returns:
      the ExpressRoutePortPropertiesFormat object itself.
    • bandwidthInGbps

      public Integer bandwidthInGbps()
      Get the bandwidthInGbps property: Bandwidth of procured ports in Gbps.
      Returns:
      the bandwidthInGbps value.
    • withBandwidthInGbps

      public ExpressRoutePortPropertiesFormat withBandwidthInGbps(Integer bandwidthInGbps)
      Set the bandwidthInGbps property: Bandwidth of procured ports in Gbps.
      Parameters:
      bandwidthInGbps - the bandwidthInGbps value to set.
      Returns:
      the ExpressRoutePortPropertiesFormat object itself.
    • provisionedBandwidthInGbps

      public Float provisionedBandwidthInGbps()
      Get the provisionedBandwidthInGbps property: Aggregate Gbps of associated circuit bandwidths.
      Returns:
      the provisionedBandwidthInGbps value.
    • mtu

      public String mtu()
      Get the mtu property: Maximum transmission unit of the physical port pair(s).
      Returns:
      the mtu value.
    • encapsulation

      public ExpressRoutePortsEncapsulation encapsulation()
      Get the encapsulation property: Encapsulation method on physical ports.
      Returns:
      the encapsulation value.
    • withEncapsulation

      public ExpressRoutePortPropertiesFormat withEncapsulation(ExpressRoutePortsEncapsulation encapsulation)
      Set the encapsulation property: Encapsulation method on physical ports.
      Parameters:
      encapsulation - the encapsulation value to set.
      Returns:
      the ExpressRoutePortPropertiesFormat object itself.
    • etherType

      public String etherType()
      Get the etherType property: Ether type of the physical port.
      Returns:
      the etherType value.
    • allocationDate

      public String allocationDate()
      Get the allocationDate property: Date of the physical port allocation to be used in Letter of Authorization.
      Returns:
      the allocationDate value.
    • links

      public List<ExpressRouteLinkInner> links()
      Get the links property: The set of physical links of the ExpressRoutePort resource.
      Returns:
      the links value.
    • withLinks

      Set the links property: The set of physical links of the ExpressRoutePort resource.
      Parameters:
      links - the links value to set.
      Returns:
      the ExpressRoutePortPropertiesFormat object itself.
    • circuits

      public List<com.azure.core.management.SubResource> circuits()
      Get the circuits property: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.
      Returns:
      the circuits value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the express route port resource.
      Returns:
      the provisioningState value.
    • resourceGuid

      public String resourceGuid()
      Get the resourceGuid property: The resource GUID property of the express route port resource.
      Returns:
      the resourceGuid value.
    • billingType

      public ExpressRoutePortsBillingType billingType()
      Get the billingType property: The billing type of the ExpressRoutePort resource.
      Returns:
      the billingType value.
    • withBillingType

      public ExpressRoutePortPropertiesFormat withBillingType(ExpressRoutePortsBillingType billingType)
      Set the billingType property: The billing type of the ExpressRoutePort resource.
      Parameters:
      billingType - the billingType value to set.
      Returns:
      the ExpressRoutePortPropertiesFormat object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ExpressRoutePortPropertiesFormat>
      Throws:
      IOException
    • fromJson

      public static ExpressRoutePortPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ExpressRoutePortPropertiesFormat from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ExpressRoutePortPropertiesFormat 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 ExpressRoutePortPropertiesFormat.