PrivateLinkResourceInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. PrivateLinkResourceInner
- com.
Implements
public final class PrivateLinkResourceInner
implements JsonSerializable<PrivateLinkResourceInner>
A resource that supports private link capabilities.
Constructor Summary
Constructor | Description |
---|---|
PrivateLinkResourceInner() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
String |
groupId()
Get the group |
String |
id()
Get the id property: The resource ID. |
String |
name()
Get the name property: The name of the resource. |
List<String> |
requiredMembers()
Get the required |
List<String> |
requiredZoneNames()
Get the required |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The resource type is private link resource. |
void |
validate()
Validates the instance. |
Private |
withGroupId(String groupId)
Set the group |
Private |
withId(String id)
Set the id property: The resource ID. |
Private |
withName(String name)
Set the name property: The name of the resource. |
Private |
withRequiredMembers(List<String> requiredMembers)
Set the required |
Private |
withRequiredZoneNames(List<String> requiredZoneNames)
Set the required |
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkResourceInner
public PrivateLinkResourceInner()
Creates an instance of PrivateLinkResourceInner class.
Method Details
fromJson
public static PrivateLinkResourceInner fromJson(JsonReader jsonReader)
Reads an instance of PrivateLinkResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
groupId
public String groupId()
Get the groupId property: The private link resource group id.
Returns:
id
public String id()
Get the id property: The resource ID.
Returns:
name
public String name()
Get the name property: The name of the resource.
Returns:
requiredMembers
public List
Get the requiredMembers property: The private link resource required member names.
Returns:
requiredZoneNames
public List
Get the requiredZoneNames property: The private link resource Private link DNS zone name.
Returns:
toJson
type
public String type()
Get the type property: The resource type is private link resource.
Returns:
validate
public void validate()
Validates the instance.
withGroupId
public PrivateLinkResourceInner withGroupId(String groupId)
Set the groupId property: The private link resource group id.
Parameters:
Returns:
withId
public PrivateLinkResourceInner withId(String id)
Set the id property: The resource ID.
Parameters:
Returns:
withName
public PrivateLinkResourceInner withName(String name)
Set the name property: The name of the resource.
Parameters:
Returns:
withRequiredMembers
public PrivateLinkResourceInner withRequiredMembers(List
Set the requiredMembers property: The private link resource required member names.
Parameters:
Returns:
withRequiredZoneNames
public PrivateLinkResourceInner withRequiredZoneNames(List
Set the requiredZoneNames property: The private link resource Private link DNS zone name.
Parameters:
Returns:
Applies to
Azure SDK for Java