Class PrivateLinkResource
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.keyvault.models.PrivateLinkResource
-
public final class PrivateLinkResource extends com.azure.core.management.ResourceA 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: Group identifier of private link resource.List<String>requiredMembers()Get the requiredMembers property: Required member names of private link resource.List<String>requiredZoneNames()Get the requiredZoneNames property: Required DNS zone names of the the private link resource.voidvalidate()Validates the instance.PrivateLinkResourcewithLocation(String location)PrivateLinkResourcewithRequiredZoneNames(List<String> requiredZoneNames)Set the requiredZoneNames property: Required DNS zone names of the the private link resource.PrivateLinkResourcewithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public PrivateLinkResource withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public PrivateLinkResource withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
groupId
public String groupId()
Get the groupId property: Group identifier of private link resource.- Returns:
- the groupId value.
-
requiredMembers
public List<String> requiredMembers()
Get the requiredMembers property: Required member names of private link resource.- Returns:
- the requiredMembers value.
-
requiredZoneNames
public List<String> requiredZoneNames()
Get the requiredZoneNames property: Required DNS zone names of the the private link resource.- Returns:
- the requiredZoneNames value.
-
withRequiredZoneNames
public PrivateLinkResource 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 PrivateLinkResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-