Class PrivateLinkResourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.fluent.models.PrivateLinkResourceProperties
-
public final class PrivateLinkResourceProperties extends Object
The properties of a private link resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkResourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgroupId()Get the groupId property: The private link resource group id.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 Private link DNS zone name.voidvalidate()Validates the instance.PrivateLinkResourcePropertieswithGroupId(String groupId)Set the groupId property: The private link resource group id.PrivateLinkResourcePropertieswithRequiredMembers(List<String> requiredMembers)Set the requiredMembers property: The private link resource required member names.PrivateLinkResourcePropertieswithRequiredZoneNames(List<String> requiredZoneNames)Set the requiredZoneNames property: The private link resource Private link DNS zone name.
-
-
-
Method Detail
-
groupId
public String groupId()
Get the groupId property: The private link resource group id.- Returns:
- the groupId value.
-
withGroupId
public PrivateLinkResourceProperties withGroupId(String groupId)
Set the groupId property: The private link resource group id.- Parameters:
groupId- the groupId value to set.- Returns:
- the PrivateLinkResourceProperties object itself.
-
requiredMembers
public List<String> requiredMembers()
Get the requiredMembers property: The private link resource required member names.- Returns:
- the requiredMembers value.
-
withRequiredMembers
public PrivateLinkResourceProperties withRequiredMembers(List<String> requiredMembers)
Set the requiredMembers property: The private link resource required member names.- Parameters:
requiredMembers- the requiredMembers value to set.- Returns:
- the PrivateLinkResourceProperties object itself.
-
requiredZoneNames
public List<String> requiredZoneNames()
Get the requiredZoneNames property: The private link resource Private link DNS zone name.- Returns:
- the requiredZoneNames value.
-
withRequiredZoneNames
public PrivateLinkResourceProperties withRequiredZoneNames(List<String> requiredZoneNames)
Set the requiredZoneNames property: The private link resource Private link DNS zone name.- Parameters:
requiredZoneNames- the requiredZoneNames value to set.- Returns:
- the PrivateLinkResourceProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-