Class ApplicationGatewayPrivateLinkResourceInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayPrivateLinkResourceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class ApplicationGatewayPrivateLinkResourceInner
extends com.azure.core.management.SubResource
PrivateLink Resource of an application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayPrivateLinkResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayPrivateLinkResourceInner from the JsonReader.groupId()Get the groupId property: Group identifier of private link resource.name()Get the name property: Name of the private link resource that is unique within an Application Gateway.Get the requiredMembers property: Required member names of private link resource.Get the requiredZoneNames property: Required DNS zone names of the the private link resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of the resource.voidvalidate()Validates the instance.Set the name property: Name of the private link resource that is unique within an Application Gateway.withRequiredZoneNames(List<String> requiredZoneNames) Set the requiredZoneNames property: Required DNS zone names of the the private link resource.Methods inherited from class com.azure.core.management.SubResource
idMethods 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
-
ApplicationGatewayPrivateLinkResourceInner
public ApplicationGatewayPrivateLinkResourceInner()Creates an instance of ApplicationGatewayPrivateLinkResourceInner class.
-
-
Method Details
-
name
Get the name property: Name of the private link resource that is unique within an Application Gateway.- Returns:
- the name value.
-
withName
Set the name property: Name of the private link resource that is unique within an Application Gateway.- Parameters:
name- the name value to set.- Returns:
- the ApplicationGatewayPrivateLinkResourceInner object itself.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
Get the type property: Type of the resource.- Returns:
- the type value.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
groupId
Get the groupId property: Group identifier of private link resource.- Returns:
- the groupId value.
-
requiredMembers
Get the requiredMembers property: Required member names of private link resource.- Returns:
- the requiredMembers value.
-
requiredZoneNames
Get the requiredZoneNames property: Required DNS zone names of the the private link resource.- Returns:
- the requiredZoneNames value.
-
withRequiredZoneNames
public ApplicationGatewayPrivateLinkResourceInner withRequiredZoneNames(List<String> requiredZoneNames) Set the requiredZoneNames property: Required DNS zone names of the the private link resource.- Parameters:
requiredZoneNames- the requiredZoneNames value to set.- Returns:
- the ApplicationGatewayPrivateLinkResourceInner 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<com.azure.core.management.SubResource>- Overrides:
toJsonin classcom.azure.core.management.SubResource- Throws:
IOException
-
fromJson
public static ApplicationGatewayPrivateLinkResourceInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewayPrivateLinkResourceInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewayPrivateLinkResourceInner 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 ApplicationGatewayPrivateLinkResourceInner.
-