PrivateLinkResourceInner Class

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

Implements

public final class PrivateLinkResourceInner
implements JsonSerializable<PrivateLinkResourceInner>

A private link resource.

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 group ID of the resource.

String id()

Get the id property: The ID of the private link resource.

String name()

Get the name property: The name of the private link resource.

String privateLinkServiceId()

Get the privateLinkServiceId property: The private link service ID of the resource, this field is exposed only to NRP internally.

List<String> requiredMembers()

Get the requiredMembers property: The RequiredMembers of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

PrivateLinkResourceInner withGroupId(String groupId)

Set the groupId property: The group ID of the resource.

PrivateLinkResourceInner withId(String id)

Set the id property: The ID of the private link resource.

PrivateLinkResourceInner withName(String name)

Set the name property: The name of the private link resource.

PrivateLinkResourceInner withRequiredMembers(List<String> requiredMembers)

Set the requiredMembers property: The RequiredMembers of the resource.

PrivateLinkResourceInner withType(String type)

Set the type property: The resource type.

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 group ID of the resource.

Returns:

the groupId value.

id

public String id()

Get the id property: The ID of the private link resource.

Returns:

the id value.

name

public String name()

Get the name property: The name of the private link resource.

Returns:

the name value.

privateLinkServiceId

public String privateLinkServiceId()

Get the privateLinkServiceId property: The private link service ID of the resource, this field is exposed only to NRP internally.

Returns:

the privateLinkServiceId value.

requiredMembers

public List requiredMembers()

Get the requiredMembers property: The RequiredMembers of the resource.

Returns:

the requiredMembers value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withGroupId

public PrivateLinkResourceInner withGroupId(String groupId)

Set the groupId property: The group ID of the resource.

Parameters:

groupId - the groupId value to set.

Returns:

the PrivateLinkResourceInner object itself.

withId

public PrivateLinkResourceInner withId(String id)

Set the id property: The ID of the private link resource.

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 private link resource.

Parameters:

name - the name value to set.

Returns:

the PrivateLinkResourceInner object itself.

withRequiredMembers

public PrivateLinkResourceInner withRequiredMembers(List requiredMembers)

Set the requiredMembers property: The RequiredMembers of the resource.

Parameters:

requiredMembers - the requiredMembers value to set.

Returns:

the PrivateLinkResourceInner object itself.

withType

public PrivateLinkResourceInner withType(String type)

Set the type property: The resource type.

Parameters:

type - the type value to set.

Returns:

the PrivateLinkResourceInner object itself.

Applies to