NetworkManagerConnectionProperties Class

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

Implements

public final class NetworkManagerConnectionProperties
implements JsonSerializable<NetworkManagerConnectionProperties>

Information about the network manager connection.

Constructor Summary

Constructor Description
NetworkManagerConnectionProperties()

Creates an instance of NetworkManagerConnectionProperties 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.

static NetworkManagerConnectionProperties fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerConnectionProperties from the JsonReader.

String networkManagerId()

Get the networkManagerId property: Network Manager Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkManagerConnectionProperties withDescription(String description)

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

NetworkManagerConnectionProperties withNetworkManagerId(String networkManagerId)

Set the networkManagerId property: Network Manager Id.

Methods inherited from java.lang.Object

Constructor Details

NetworkManagerConnectionProperties

public NetworkManagerConnectionProperties()

Creates an instance of NetworkManagerConnectionProperties 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.

fromJson

public static NetworkManagerConnectionProperties fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerConnectionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

networkManagerId

public String networkManagerId()

Get the networkManagerId property: Network Manager Id.

Returns:

the networkManagerId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public NetworkManagerConnectionProperties withDescription(String description)

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

Parameters:

description - the description value to set.

Returns:

the NetworkManagerConnectionProperties object itself.

withNetworkManagerId

public NetworkManagerConnectionProperties withNetworkManagerId(String networkManagerId)

Set the networkManagerId property: Network Manager Id.

Parameters:

networkManagerId - the networkManagerId value to set.

Returns:

the NetworkManagerConnectionProperties object itself.

Applies to