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 Summary
ConstructorsConstructorDescriptionCreates an instance of AvailablePrivateEndpointTypeInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name of the resource.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AvailablePrivateEndpointTypeInner from the JsonReader.id()Get the id property: A unique identifier of the AvailablePrivateEndpoint Type resource.name()Get the name property: The name of the service and resource.Get the resourceName property: The name of the service and resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Resource type.voidvalidate()Validates the instance.withDisplayName(String displayName) Set the displayName property: Display name of the resource.Set the id property: A unique identifier of the AvailablePrivateEndpoint Type resource.Set the name property: The name of the service and resource.withResourceName(String resourceName) Set the resourceName property: The name of the service and resource.Set the type property: Resource type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AvailablePrivateEndpointTypeInner
public AvailablePrivateEndpointTypeInner()Creates an instance of AvailablePrivateEndpointTypeInner class.
-
-
Method Details
-
name
Get the name property: The name of the service and resource.- Returns:
- the name value.
-
withName
Set the name property: The name of the service and resource.- Parameters:
name- the name value to set.- Returns:
- the AvailablePrivateEndpointTypeInner object itself.
-
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
Get the type property: Resource type.- Returns:
- the type value.
-
withType
Set the type property: Resource type.- Parameters:
type- the type value to set.- Returns:
- the AvailablePrivateEndpointTypeInner object itself.
-
resourceName
Get the resourceName property: The name of the service and resource.- Returns:
- the resourceName value.
-
withResourceName
Set the resourceName property: The name of the service and resource.- Parameters:
resourceName- the resourceName value to set.- Returns:
- the AvailablePrivateEndpointTypeInner object itself.
-
displayName
Get the displayName property: Display name of the resource.- Returns:
- the displayName value.
-
withDisplayName
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
- Specified by:
toJsonin interfacecom.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.
-