PrivateLinkResourceInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.PrivateLinkResourceInner

Implements

public final class PrivateLinkResourceInner
implements JsonSerializable<PrivateLinkResourceInner>

A resource that supports private link capabilities.

Constructor Summary

Constructor Description
PrivateLinkResourceInner()

Creates an instance of PrivateLinkResourceInner class.

Method Summary

Modifier and Type Method and Description
static PrivateLinkResourceInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResourceInner from the JsonReader.

String groupId()

Get the groupId property: The private link resource group id.

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 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.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type is private link resource.

void validate()

Validates the instance.

PrivateLinkResourceInner withGroupId(String groupId)

Set the groupId property: The private link resource group id.

PrivateLinkResourceInner withId(String id)

Set the id property: The resource ID.

PrivateLinkResourceInner withName(String name)

Set the name property: The name of the resource.

PrivateLinkResourceInner withRequiredMembers(List<String> requiredMembers)

Set the requiredMembers property: The private link resource required member names.

PrivateLinkResourceInner withRequiredZoneNames(List<String> requiredZoneNames)

Set the requiredZoneNames property: The private link resource Private link DNS zone name.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of PrivateLinkResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PrivateLinkResourceInner.

groupId

public String groupId()

Get the groupId property: The private link resource group id.

Returns:

the groupId value.

id

public String id()

Get the id property: The resource ID.

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Returns:

the name value.

requiredMembers

public List requiredMembers()

Get the requiredMembers property: The private link resource required member names.

Returns:

the requiredMembers value.

requiredZoneNames

public List requiredZoneNames()

Get the requiredZoneNames property: The private link resource Private link DNS zone name.

Returns:

the requiredZoneNames value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type is private link resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withGroupId

public PrivateLinkResourceInner withGroupId(String groupId)

Set the groupId property: The private link resource group id.

Parameters:

groupId - the groupId value to set.

Returns:

the PrivateLinkResourceInner object itself.

withId

public PrivateLinkResourceInner withId(String id)

Set the id property: The resource ID.

Parameters:

id - the id value to set.

Returns:

the PrivateLinkResourceInner object itself.

withName

public PrivateLinkResourceInner withName(String name)

Set the name property: The name of the resource.

Parameters:

name - the name value to set.

Returns:

the PrivateLinkResourceInner object itself.

withRequiredMembers

public PrivateLinkResourceInner withRequiredMembers(List requiredMembers)

Set the requiredMembers property: The private link resource required member names.

Parameters:

requiredMembers - the requiredMembers value to set.

Returns:

the PrivateLinkResourceInner object itself.

withRequiredZoneNames

public PrivateLinkResourceInner withRequiredZoneNames(List requiredZoneNames)

Set the requiredZoneNames property: The private link resource Private link DNS zone name.

Parameters:

requiredZoneNames - the requiredZoneNames value to set.

Returns:

the PrivateLinkResourceInner object itself.

Applies to