PrivateLinkResource Class

  • java.lang.Object
    • com.azure.resourcemanager.servicebus.models.PrivateLinkResource

Implements

public final class PrivateLinkResource
implements JsonSerializable<PrivateLinkResource>

Information of the private link resource.

Constructor Summary

Constructor Description
PrivateLinkResource()

Creates an instance of PrivateLinkResource class.

Method Summary

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

Reads an instance of PrivateLinkResource 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: Required Members.

List<String> requiredZoneNames()

Get the requiredZoneNames property: Required Zone Names.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

PrivateLinkResource withGroupId(String groupId)

Set the groupId property: The groupId property.

PrivateLinkResource withId(String id)

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

PrivateLinkResource withName(String name)

Set the name property: Name of the resource.

PrivateLinkResource withRequiredMembers(List<String> requiredMembers)

Set the requiredMembers property: Required Members.

PrivateLinkResource withRequiredZoneNames(List<String> requiredZoneNames)

Set the requiredZoneNames property: Required Zone Names.

PrivateLinkResource withType(String type)

Set the type property: Type of the resource.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkResource

public PrivateLinkResource()

Creates an instance of PrivateLinkResource class.

Method Details

fromJson

public static PrivateLinkResource fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PrivateLinkResource 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 PrivateLinkResource.

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 requiredMembers()

Get the requiredMembers property: Required Members.

Returns:

the requiredMembers value.

requiredZoneNames

public List requiredZoneNames()

Get the requiredZoneNames property: Required Zone Names.

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.

withGroupId

public PrivateLinkResource withGroupId(String groupId)

Set the groupId property: The groupId property.

Parameters:

groupId - the groupId value to set.

Returns:

the PrivateLinkResource object itself.

withId

public PrivateLinkResource withId(String id)

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

Parameters:

id - the id value to set.

Returns:

the PrivateLinkResource object itself.

withName

public PrivateLinkResource withName(String name)

Set the name property: Name of the resource.

Parameters:

name - the name value to set.

Returns:

the PrivateLinkResource object itself.

withRequiredMembers

public PrivateLinkResource withRequiredMembers(List requiredMembers)

Set the requiredMembers property: Required Members.

Parameters:

requiredMembers - the requiredMembers value to set.

Returns:

the PrivateLinkResource object itself.

withRequiredZoneNames

public PrivateLinkResource withRequiredZoneNames(List requiredZoneNames)

Set the requiredZoneNames property: Required Zone Names.

Parameters:

requiredZoneNames - the requiredZoneNames value to set.

Returns:

the PrivateLinkResource object itself.

withType

public PrivateLinkResource withType(String type)

Set the type property: Type of the resource.

Parameters:

type - the type value to set.

Returns:

the PrivateLinkResource object itself.

Applies to