Class PrivateLinkResource
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.PrivateLinkResource
-
public final class PrivateLinkResource extends Object
A private link resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgroupId()Get the groupId property: The private link resource group id.Stringid()Get the id property: private link resource Id.Stringname()Get the name property: private link resource name.List<String>requiredMembers()Get the requiredMembers property: The private link resource required member names.List<String>requiredZoneNames()Get the requiredZoneNames property: The private link resource DNS zone name.Stringtype()Get the type property: private link resource type.voidvalidate()Validates the instance.PrivateLinkResourcewithRequiredZoneNames(List<String> requiredZoneNames)Set the requiredZoneNames property: The private link resource DNS zone name.
-
-
-
Method Detail
-
id
public String id()
Get the id property: private link resource Id.- Returns:
- the id value.
-
name
public String name()
Get the name property: private link resource name.- Returns:
- the name value.
-
type
public String type()
Get the type property: private link resource type.- Returns:
- the type value.
-
groupId
public String groupId()
Get the groupId property: The private link resource group id.- Returns:
- the groupId value.
-
requiredMembers
public List<String> requiredMembers()
Get the requiredMembers property: The private link resource required member names.- Returns:
- the requiredMembers value.
-
requiredZoneNames
public List<String> requiredZoneNames()
Get the requiredZoneNames property: The private link resource DNS zone name.- Returns:
- the requiredZoneNames value.
-
withRequiredZoneNames
public PrivateLinkResource withRequiredZoneNames(List<String> requiredZoneNames)
Set the requiredZoneNames property: The private link resource 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.
-
-