PrivateEndpointConnectionForPrivateLinkHubInner Class

public final class PrivateEndpointConnectionForPrivateLinkHubInner
extends PrivateEndpointConnectionForPrivateLinkHubBasicAutoGenerated

The PrivateEndpointConnectionForPrivateLinkHub model.

Constructor Summary

Constructor Description
PrivateEndpointConnectionForPrivateLinkHubInner()

Creates an instance of PrivateEndpointConnectionForPrivateLinkHubInner class.

Method Summary

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

Reads an instance of PrivateEndpointConnectionForPrivateLinkHubInner from the JsonReader.

String name()

Get the name property: The name property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type property.

void validate()

Validates the instance.

PrivateEndpointConnectionForPrivateLinkHubInner withId(String id)

Set the id property: The id property.

PrivateEndpointConnectionForPrivateLinkHubInner withName(String name)

Set the name property: The name property.

PrivateEndpointConnectionForPrivateLinkHubInner withProperties(PrivateEndpointConnectionProperties properties)

Set the properties property: Properties of a private endpoint connection.

PrivateEndpointConnectionForPrivateLinkHubInner withType(String type)

Set the type property: The type property.

Methods inherited from PrivateEndpointConnectionForPrivateLinkHubBasicAutoGenerated

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointConnectionForPrivateLinkHubInner

public PrivateEndpointConnectionForPrivateLinkHubInner()

Creates an instance of PrivateEndpointConnectionForPrivateLinkHubInner class.

Method Details

fromJson

public static PrivateEndpointConnectionForPrivateLinkHubInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionForPrivateLinkHubInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name property.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateEndpointConnectionForPrivateLinkHubInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type property.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

PrivateEndpointConnectionForPrivateLinkHubInner.validate()

withId

public PrivateEndpointConnectionForPrivateLinkHubInner withId(String id)

Set the id property: The id property.

Overrides:

PrivateEndpointConnectionForPrivateLinkHubInner.withId(String id)

Parameters:

id

withName

public PrivateEndpointConnectionForPrivateLinkHubInner withName(String name)

Set the name property: The name property.

Parameters:

name - the name value to set.

Returns:

the PrivateEndpointConnectionForPrivateLinkHubInner object itself.

withProperties

public PrivateEndpointConnectionForPrivateLinkHubInner withProperties(PrivateEndpointConnectionProperties properties)

Set the properties property: Properties of a private endpoint connection.

Overrides:

PrivateEndpointConnectionForPrivateLinkHubInner.withProperties(PrivateEndpointConnectionProperties properties)

Parameters:

properties

withType

public PrivateEndpointConnectionForPrivateLinkHubInner withType(String type)

Set the type property: The type property.

Parameters:

type - the type value to set.

Returns:

the PrivateEndpointConnectionForPrivateLinkHubInner object itself.

Applies to