Class ApplicationGatewayPrivateLinkIpConfigurationProperties

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

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

    • ApplicationGatewayPrivateLinkIpConfigurationProperties

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

    • privateIpAddress

      public String privateIpAddress()
      Get the privateIpAddress property: The private IP address of the IP configuration.
      Returns:
      the privateIpAddress value.
    • withPrivateIpAddress

      public ApplicationGatewayPrivateLinkIpConfigurationProperties withPrivateIpAddress(String privateIpAddress)
      Set the privateIpAddress property: The private IP address of the IP configuration.
      Parameters:
      privateIpAddress - the privateIpAddress value to set.
      Returns:
      the ApplicationGatewayPrivateLinkIpConfigurationProperties object itself.
    • privateIpAllocationMethod

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

      public ApplicationGatewayPrivateLinkIpConfigurationProperties withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
      Set the privateIpAllocationMethod property: The private IP address allocation method.
      Parameters:
      privateIpAllocationMethod - the privateIpAllocationMethod value to set.
      Returns:
      the ApplicationGatewayPrivateLinkIpConfigurationProperties 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 ApplicationGatewayPrivateLinkIpConfigurationProperties 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 ApplicationGatewayPrivateLinkIpConfigurationProperties object itself.
    • primary

      public Boolean primary()
      Get the primary property: Whether the ip configuration is primary or not.
      Returns:
      the primary value.
    • withPrimary

      Set the primary property: Whether the ip configuration is primary or not.
      Parameters:
      primary - the primary value to set.
      Returns:
      the ApplicationGatewayPrivateLinkIpConfigurationProperties object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the application gateway private link IP configuration.
      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<ApplicationGatewayPrivateLinkIpConfigurationProperties>
      Throws:
      IOException
    • fromJson

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