Class AvailablePrivateEndpointTypeInner

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

public final class AvailablePrivateEndpointTypeInner extends Object implements com.azure.json.JsonSerializable<AvailablePrivateEndpointTypeInner>
The information of an AvailablePrivateEndpointType.
  • Constructor Details

    • AvailablePrivateEndpointTypeInner

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

    • name

      public String name()
      Get the name property: The name of the service and resource.
      Returns:
      the name value.
    • withName

      public AvailablePrivateEndpointTypeInner withName(String name)
      Set the name property: The name of the service and resource.
      Parameters:
      name - the name value to set.
      Returns:
      the AvailablePrivateEndpointTypeInner object itself.
    • id

      public String id()
      Get the id property: A unique identifier of the AvailablePrivateEndpoint Type resource.
      Returns:
      the id value.
    • withId

      Set the id property: A unique identifier of the AvailablePrivateEndpoint Type resource.
      Parameters:
      id - the id value to set.
      Returns:
      the AvailablePrivateEndpointTypeInner object itself.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • withType

      public AvailablePrivateEndpointTypeInner withType(String type)
      Set the type property: Resource type.
      Parameters:
      type - the type value to set.
      Returns:
      the AvailablePrivateEndpointTypeInner object itself.
    • resourceName

      public String resourceName()
      Get the resourceName property: The name of the service and resource.
      Returns:
      the resourceName value.
    • withResourceName

      public AvailablePrivateEndpointTypeInner withResourceName(String resourceName)
      Set the resourceName property: The name of the service and resource.
      Parameters:
      resourceName - the resourceName value to set.
      Returns:
      the AvailablePrivateEndpointTypeInner object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display name of the resource.
      Returns:
      the displayName value.
    • withDisplayName

      public AvailablePrivateEndpointTypeInner withDisplayName(String displayName)
      Set the displayName property: Display name of the resource.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the AvailablePrivateEndpointTypeInner 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<AvailablePrivateEndpointTypeInner>
      Throws:
      IOException
    • fromJson

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