PrivateLinkHubInner Class

public final class PrivateLinkHubInner
extends Resource

A privateLinkHub.

Constructor Summary

Constructor Description
PrivateLinkHubInner()

Creates an instance of PrivateLinkHubInner class.

Method Summary

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

Reads an instance of PrivateLinkHubInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

List<PrivateEndpointConnectionForPrivateLinkHubBasic> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections.

String provisioningState()

Get the provisioningState property: PrivateLinkHub provisioning state.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

PrivateLinkHubInner withLocation(String location)
PrivateLinkHubInner withProvisioningState(String provisioningState)

Set the provisioningState property: PrivateLinkHub provisioning state.

PrivateLinkHubInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkHubInner

public PrivateLinkHubInner()

Creates an instance of PrivateLinkHubInner class.

Method Details

fromJson

public static PrivateLinkHubInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkHubInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PrivateLinkHubInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

PrivateLinkHubInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

PrivateLinkHubInner.name()

Returns:

the name value.

privateEndpointConnections

public List<PrivateEndpointConnectionForPrivateLinkHubBasic> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections.

Returns:

the privateEndpointConnections value.

provisioningState

public String provisioningState()

Get the provisioningState property: PrivateLinkHub provisioning state.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateLinkHubInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

PrivateLinkHubInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public PrivateLinkHubInner withLocation(String location)

Overrides:

PrivateLinkHubInner.withLocation(String location)

Parameters:

location

withProvisioningState

public PrivateLinkHubInner withProvisioningState(String provisioningState)

Set the provisioningState property: PrivateLinkHub provisioning state.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the PrivateLinkHubInner object itself.

withTags

public PrivateLinkHubInner withTags(Map<String,String> tags)

Overrides:

PrivateLinkHubInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to