AutoApprovedPrivateLinkServiceInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.AutoApprovedPrivateLinkServiceInner

Implements

public final class AutoApprovedPrivateLinkServiceInner
implements JsonSerializable<AutoApprovedPrivateLinkServiceInner>

The information of an AutoApprovedPrivateLinkService.

Constructor Summary

Constructor Description
AutoApprovedPrivateLinkServiceInner()

Creates an instance of AutoApprovedPrivateLinkServiceInner class.

Method Summary

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

Reads an instance of AutoApprovedPrivateLinkServiceInner from the JsonReader.

String privateLinkService()

Get the privateLinkService property: The id of the private link service resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AutoApprovedPrivateLinkServiceInner withPrivateLinkService(String privateLinkService)

Set the privateLinkService property: The id of the private link service resource.

Methods inherited from java.lang.Object

Constructor Details

AutoApprovedPrivateLinkServiceInner

public AutoApprovedPrivateLinkServiceInner()

Creates an instance of AutoApprovedPrivateLinkServiceInner class.

Method Details

fromJson

public static AutoApprovedPrivateLinkServiceInner fromJson(JsonReader jsonReader)

Reads an instance of AutoApprovedPrivateLinkServiceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

privateLinkService

public String privateLinkService()

Get the privateLinkService property: The id of the private link service resource.

Returns:

the privateLinkService value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPrivateLinkService

public AutoApprovedPrivateLinkServiceInner withPrivateLinkService(String privateLinkService)

Set the privateLinkService property: The id of the private link service resource.

Parameters:

privateLinkService - the privateLinkService value to set.

Returns:

the AutoApprovedPrivateLinkServiceInner object itself.

Applies to