Class PrivateEndpointIpConfiguration

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

public final class PrivateEndpointIpConfiguration extends Object implements com.azure.json.JsonSerializable<PrivateEndpointIpConfiguration>
An IP Configuration of the private endpoint.
  • Constructor Details

    • PrivateEndpointIpConfiguration

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

    • name

      public String name()
      Get the name property: The name of the resource that is unique within a resource group.
      Returns:
      the name value.
    • withName

      public PrivateEndpointIpConfiguration withName(String name)
      Set the name property: The name of the resource that is unique within a resource group.
      Parameters:
      name - the name value to set.
      Returns:
      the PrivateEndpointIpConfiguration object itself.
    • type

      public String type()
      Get the type property: The resource type.
      Returns:
      the type value.
    • etag

      public String etag()
      Get the etag property: A unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • groupId

      public String groupId()
      Get the groupId property: The ID of a group obtained from the remote resource that this private endpoint should connect to.
      Returns:
      the groupId value.
    • withGroupId

      public PrivateEndpointIpConfiguration withGroupId(String groupId)
      Set the groupId property: The ID of a group obtained from the remote resource that this private endpoint should connect to.
      Parameters:
      groupId - the groupId value to set.
      Returns:
      the PrivateEndpointIpConfiguration object itself.
    • memberName

      public String memberName()
      Get the memberName property: The member name of a group obtained from the remote resource that this private endpoint should connect to.
      Returns:
      the memberName value.
    • withMemberName

      public PrivateEndpointIpConfiguration withMemberName(String memberName)
      Set the memberName property: The member name of a group obtained from the remote resource that this private endpoint should connect to.
      Parameters:
      memberName - the memberName value to set.
      Returns:
      the PrivateEndpointIpConfiguration object itself.
    • privateIpAddress

      public String privateIpAddress()
      Get the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.
      Returns:
      the privateIpAddress value.
    • withPrivateIpAddress

      public PrivateEndpointIpConfiguration withPrivateIpAddress(String privateIpAddress)
      Set the privateIpAddress property: A private ip address obtained from the private endpoint's subnet.
      Parameters:
      privateIpAddress - the privateIpAddress value to set.
      Returns:
      the PrivateEndpointIpConfiguration 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<PrivateEndpointIpConfiguration>
      Throws:
      IOException
    • fromJson

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