PrivateLinkServiceConnection Class

  • java.lang.Object
    • com.azure.resourcemanager.deviceupdate.models.PrivateLinkServiceConnection

Implements

public final class PrivateLinkServiceConnection
implements JsonSerializable<PrivateLinkServiceConnection>

Private link service connection details.

Constructor Summary

Constructor Description
PrivateLinkServiceConnection()

Creates an instance of PrivateLinkServiceConnection class.

Method Summary

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

Reads an instance of PrivateLinkServiceConnection from the JsonReader.

List<String> groupIds()

Get the groupIds property: List of group IDs.

String name()

Get the name property: Private link service connection name.

String requestMessage()

Get the requestMessage property: Request message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateLinkServiceConnection withGroupIds(List<String> groupIds)

Set the groupIds property: List of group IDs.

PrivateLinkServiceConnection withName(String name)

Set the name property: Private link service connection name.

PrivateLinkServiceConnection withRequestMessage(String requestMessage)

Set the requestMessage property: Request message.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkServiceConnection

public PrivateLinkServiceConnection()

Creates an instance of PrivateLinkServiceConnection class.

Method Details

fromJson

public static PrivateLinkServiceConnection fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServiceConnection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groupIds

public List<String> groupIds()

Get the groupIds property: List of group IDs.

Returns:

the groupIds value.

name

public String name()

Get the name property: Private link service connection name.

Returns:

the name value.

requestMessage

public String requestMessage()

Get the requestMessage property: Request message.

Returns:

the requestMessage value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGroupIds

public PrivateLinkServiceConnection withGroupIds(List<String> groupIds)

Set the groupIds property: List of group IDs.

Parameters:

groupIds - the groupIds value to set.

Returns:

the PrivateLinkServiceConnection object itself.

withName

public PrivateLinkServiceConnection withName(String name)

Set the name property: Private link service connection name.

Parameters:

name - the name value to set.

Returns:

the PrivateLinkServiceConnection object itself.

withRequestMessage

public PrivateLinkServiceConnection withRequestMessage(String requestMessage)

Set the requestMessage property: Request message.

Parameters:

requestMessage - the requestMessage value to set.

Returns:

the PrivateLinkServiceConnection object itself.

Applies to