NetworkManagerConnectionInner Class

public final class NetworkManagerConnectionInner
extends ChildResource

The Network Manager Connection resource.

Constructor Summary

Constructor Description
NetworkManagerConnectionInner()

Creates an instance of NetworkManagerConnectionInner class.

Method Summary

Modifier and Type Method and Description
ScopeConnectionState connectionState()

Get the connectionState property: Connection state.

String description()

Get the description property: A description of the network manager connection.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static NetworkManagerConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerConnectionInner 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.

String networkManagerId()

Get the networkManagerId property: Network Manager Id.

SystemData systemData()

Get the systemData property: The system metadata related to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

NetworkManagerConnectionInner withDescription(String description)

Set the description property: A description of the network manager connection.

NetworkManagerConnectionInner withNetworkManagerId(String networkManagerId)

Set the networkManagerId property: Network Manager Id.

Methods inherited from ChildResource

Methods inherited from java.lang.Object

Constructor Details

NetworkManagerConnectionInner

public NetworkManagerConnectionInner()

Creates an instance of NetworkManagerConnectionInner class.

Method Details

connectionState

public ScopeConnectionState connectionState()

Get the connectionState property: Connection state.

Returns:

the connectionState value.

description

public String description()

Get the description property: A description of the network manager connection.

Returns:

the description value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Overrides:

NetworkManagerConnectionInner.etag()

Returns:

the etag value.

fromJson

public static NetworkManagerConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerConnectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkManagerConnectionInner 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:

NetworkManagerConnectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

NetworkManagerConnectionInner.name()

Returns:

the name value.

networkManagerId

public String networkManagerId()

Get the networkManagerId property: Network Manager Id.

Returns:

the networkManagerId value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata related to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkManagerConnectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

NetworkManagerConnectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

NetworkManagerConnectionInner.validate()

withDescription

public NetworkManagerConnectionInner withDescription(String description)

Set the description property: A description of the network manager connection.

Parameters:

description - the description value to set.

Returns:

the NetworkManagerConnectionInner object itself.

withNetworkManagerId

public NetworkManagerConnectionInner withNetworkManagerId(String networkManagerId)

Set the networkManagerId property: Network Manager Id.

Parameters:

networkManagerId - the networkManagerId value to set.

Returns:

the NetworkManagerConnectionInner object itself.

Applies to