NetworkFunctionApplication Class

  • java.lang.Object
    • com.azure.resourcemanager.hybridnetwork.models.NetworkFunctionApplication

Implements

public class NetworkFunctionApplication
implements JsonSerializable<NetworkFunctionApplication>

Network function application definition.

Constructor Summary

Constructor Description
NetworkFunctionApplication()

Creates an instance of NetworkFunctionApplication class.

Method Summary

Modifier and Type Method and Description
DependsOnProfile dependsOnProfile()

Get the dependsOnProfile property: Depends on profile definition.

static NetworkFunctionApplication fromJson(JsonReader jsonReader)

Reads an instance of NetworkFunctionApplication from the JsonReader.

String name()

Get the name property: The name of the network function application.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkFunctionApplication withDependsOnProfile(DependsOnProfile dependsOnProfile)

Set the dependsOnProfile property: Depends on profile definition.

NetworkFunctionApplication withName(String name)

Set the name property: The name of the network function application.

Methods inherited from java.lang.Object

Constructor Details

NetworkFunctionApplication

public NetworkFunctionApplication()

Creates an instance of NetworkFunctionApplication class.

Method Details

dependsOnProfile

public DependsOnProfile dependsOnProfile()

Get the dependsOnProfile property: Depends on profile definition.

Returns:

the dependsOnProfile value.

fromJson

public static NetworkFunctionApplication fromJson(JsonReader jsonReader)

Reads an instance of NetworkFunctionApplication from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the network function application.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDependsOnProfile

public NetworkFunctionApplication withDependsOnProfile(DependsOnProfile dependsOnProfile)

Set the dependsOnProfile property: Depends on profile definition.

Parameters:

dependsOnProfile - the dependsOnProfile value to set.

Returns:

the NetworkFunctionApplication object itself.

withName

public NetworkFunctionApplication withName(String name)

Set the name property: The name of the network function application.

Parameters:

name - the name value to set.

Returns:

the NetworkFunctionApplication object itself.

Applies to