Class ApplicationGatewayFrontendIpConfigurationPropertiesFormat

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

public final class ApplicationGatewayFrontendIpConfigurationPropertiesFormat extends Object implements com.azure.json.JsonSerializable<ApplicationGatewayFrontendIpConfigurationPropertiesFormat>
Properties of Frontend IP configuration of an application gateway.
  • Constructor Details

    • ApplicationGatewayFrontendIpConfigurationPropertiesFormat

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

    • privateIpAddress

      public String privateIpAddress()
      Get the privateIpAddress property: PrivateIPAddress of the network interface IP Configuration.
      Returns:
      the privateIpAddress value.
    • withPrivateIpAddress

      public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPrivateIpAddress(String privateIpAddress)
      Set the privateIpAddress property: PrivateIPAddress of the network interface IP Configuration.
      Parameters:
      privateIpAddress - the privateIpAddress value to set.
      Returns:
      the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself.
    • privateIpAllocationMethod

      public IpAllocationMethod privateIpAllocationMethod()
      Get the privateIpAllocationMethod property: The private IP address allocation method.
      Returns:
      the privateIpAllocationMethod value.
    • withPrivateIpAllocationMethod

      public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
      Set the privateIpAllocationMethod property: The private IP address allocation method.
      Parameters:
      privateIpAllocationMethod - the privateIpAllocationMethod value to set.
      Returns:
      the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself.
    • subnet

      public com.azure.core.management.SubResource subnet()
      Get the subnet property: Reference to the subnet resource.
      Returns:
      the subnet value.
    • withSubnet

      public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withSubnet(com.azure.core.management.SubResource subnet)
      Set the subnet property: Reference to the subnet resource.
      Parameters:
      subnet - the subnet value to set.
      Returns:
      the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself.
    • publicIpAddress

      public com.azure.core.management.SubResource publicIpAddress()
      Get the publicIpAddress property: Reference to the PublicIP resource.
      Returns:
      the publicIpAddress value.
    • withPublicIpAddress

      public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPublicIpAddress(com.azure.core.management.SubResource publicIpAddress)
      Set the publicIpAddress property: Reference to the PublicIP resource.
      Parameters:
      publicIpAddress - the publicIpAddress value to set.
      Returns:
      the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself.
    • privateLinkConfiguration

      public com.azure.core.management.SubResource privateLinkConfiguration()
      Get the privateLinkConfiguration property: Reference to the application gateway private link configuration.
      Returns:
      the privateLinkConfiguration value.
    • withPrivateLinkConfiguration

      public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPrivateLinkConfiguration(com.azure.core.management.SubResource privateLinkConfiguration)
      Set the privateLinkConfiguration property: Reference to the application gateway private link configuration.
      Parameters:
      privateLinkConfiguration - the privateLinkConfiguration value to set.
      Returns:
      the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the frontend IP configuration resource.
      Returns:
      the provisioningState value.
    • 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<ApplicationGatewayFrontendIpConfigurationPropertiesFormat>
      Throws:
      IOException
    • fromJson

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