Partager via


PrivateLinkResourceInner Class

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

Implements

public final class PrivateLinkResourceInner
implements JsonSerializable<PrivateLinkResourceInner>

Information of the private link resource.

Constructor Summary

Constructor Description
PrivateLinkResourceInner()

Creates an instance of PrivateLinkResourceInner class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The displayName property.

static PrivateLinkResourceInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResourceInner from the JsonReader.

String groupId()

Get the groupId property: The groupId property.

String id()

Get the id property: Fully qualified identifier of the resource.

String name()

Get the name property: Name of the resource.

List<String> requiredMembers()

Get the requiredMembers property: The requiredMembers property.

List<String> requiredZoneNames()

Get the requiredZoneNames property: The requiredZoneNames property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

PrivateLinkResourceInner withDisplayName(String displayName)

Set the displayName property: The displayName property.

PrivateLinkResourceInner withGroupId(String groupId)

Set the groupId property: The groupId property.

PrivateLinkResourceInner withId(String id)

Set the id property: Fully qualified identifier of the resource.

PrivateLinkResourceInner withName(String name)

Set the name property: Name of the resource.

PrivateLinkResourceInner withRequiredMembers(List<String> requiredMembers)

Set the requiredMembers property: The requiredMembers property.

PrivateLinkResourceInner withRequiredZoneNames(List<String> requiredZoneNames)

Set the requiredZoneNames property: The requiredZoneNames property.

PrivateLinkResourceInner withType(String type)

Set the type property: Type of the resource.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkResourceInner

public PrivateLinkResourceInner()

Creates an instance of PrivateLinkResourceInner class.

Method Details

displayName

public String displayName()

Get the displayName property: The displayName property.

Returns:

the displayName value.

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

Returns:

the groupId value.

id

public String id()

Get the id property: Fully qualified identifier of the resource.

Returns:

the id value.

name

public String name()

Get the name property: Name of the resource.

Returns:

the name value.

requiredMembers

public List<String> requiredMembers()

Get the requiredMembers property: The requiredMembers property.

Returns:

the requiredMembers value.

requiredZoneNames

public List<String> requiredZoneNames()

Get the requiredZoneNames property: The requiredZoneNames property.

Returns:

the requiredZoneNames value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDisplayName

public PrivateLinkResourceInner withDisplayName(String displayName)

Set the displayName property: The displayName property.

Parameters:

displayName - the displayName value to set.

Returns:

the PrivateLinkResourceInner object itself.

withGroupId

public PrivateLinkResourceInner withGroupId(String groupId)

Set the groupId property: The groupId property.

Parameters:

groupId - the groupId value to set.

Returns:

the PrivateLinkResourceInner object itself.

withId

public PrivateLinkResourceInner withId(String id)

Set the id property: Fully qualified identifier of the resource.

Parameters:

id - the id value to set.

Returns:

the PrivateLinkResourceInner object itself.

withName

public PrivateLinkResourceInner withName(String name)

Set the name property: Name of the resource.

Parameters:

name - the name value to set.

Returns:

the PrivateLinkResourceInner object itself.

withRequiredMembers

public PrivateLinkResourceInner withRequiredMembers(List<String> requiredMembers)

Set the requiredMembers property: The requiredMembers property.

Parameters:

requiredMembers - the requiredMembers value to set.

Returns:

the PrivateLinkResourceInner object itself.

withRequiredZoneNames

public PrivateLinkResourceInner withRequiredZoneNames(List<String> requiredZoneNames)

Set the requiredZoneNames property: The requiredZoneNames property.

Parameters:

requiredZoneNames - the requiredZoneNames value to set.

Returns:

the PrivateLinkResourceInner object itself.

withType

public PrivateLinkResourceInner withType(String type)

Set the type property: Type of the resource.

Parameters:

type - the type value to set.

Returns:

the PrivateLinkResourceInner object itself.

Applies to