Class PrivateLinkResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.storage.models.PrivateLinkResource
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class PrivateLinkResource
extends com.azure.core.management.ProxyResource
A private link resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroupId()Get the groupId property: The private link resource group id.Get the requiredMembers property: The private link resource required member names.Get the requiredZoneNames property: The private link resource Private link DNS zone name.voidvalidate()Validates the instance.withRequiredZoneNames(List<String> requiredZoneNames) Set the requiredZoneNames property: The private link resource Private link DNS zone name.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
PrivateLinkResource
public PrivateLinkResource()Creates an instance of PrivateLinkResource class.
-
-
Method Details
-
groupId
Get the groupId property: The private link resource group id.- Returns:
- the groupId value.
-
requiredMembers
Get the requiredMembers property: The private link resource required member names.- Returns:
- the requiredMembers value.
-
requiredZoneNames
Get the requiredZoneNames property: The private link resource Private link DNS zone name.- Returns:
- the requiredZoneNames value.
-
withRequiredZoneNames
Set the requiredZoneNames property: The private link resource Private link DNS zone name.- Parameters:
requiredZoneNames- the requiredZoneNames value to set.- Returns:
- the PrivateLinkResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-