ContainerizedNetworkFunctionDefinitionVersion Class

public final class ContainerizedNetworkFunctionDefinitionVersion
extends NetworkFunctionDefinitionVersionPropertiesFormat

Containerized network function network function definition version properties.

Constructor Summary

Constructor Description
ContainerizedNetworkFunctionDefinitionVersion()

Creates an instance of ContainerizedNetworkFunctionDefinitionVersion class.

Method Summary

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

Reads an instance of ContainerizedNetworkFunctionDefinitionVersion from the JsonReader.

ContainerizedNetworkFunctionTemplate networkFunctionTemplate()

Get the networkFunctionTemplate property: Containerized network function template.

NetworkFunctionType networkFunctionType()

Get the networkFunctionType property: The network function type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContainerizedNetworkFunctionDefinitionVersion withDeployParameters(String deployParameters)

Set the deployParameters property: The deployment parameters of the network function definition version.

ContainerizedNetworkFunctionDefinitionVersion withDescription(String description)

Set the description property: The network function definition version description.

ContainerizedNetworkFunctionDefinitionVersion withNetworkFunctionTemplate(ContainerizedNetworkFunctionTemplate networkFunctionTemplate)

Set the networkFunctionTemplate property: Containerized network function template.

Methods inherited from NetworkFunctionDefinitionVersionPropertiesFormat

Methods inherited from java.lang.Object

Constructor Details

ContainerizedNetworkFunctionDefinitionVersion

public ContainerizedNetworkFunctionDefinitionVersion()

Creates an instance of ContainerizedNetworkFunctionDefinitionVersion class.

Method Details

fromJson

public static ContainerizedNetworkFunctionDefinitionVersion fromJson(JsonReader jsonReader)

Reads an instance of ContainerizedNetworkFunctionDefinitionVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

networkFunctionTemplate

public ContainerizedNetworkFunctionTemplate networkFunctionTemplate()

Get the networkFunctionTemplate property: Containerized network function template.

Returns:

the networkFunctionTemplate value.

networkFunctionType

public NetworkFunctionType networkFunctionType()

Get the networkFunctionType property: The network function type.

Overrides:

ContainerizedNetworkFunctionDefinitionVersion.networkFunctionType()

Returns:

the networkFunctionType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ContainerizedNetworkFunctionDefinitionVersion.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

ContainerizedNetworkFunctionDefinitionVersion.validate()

withDeployParameters

public ContainerizedNetworkFunctionDefinitionVersion withDeployParameters(String deployParameters)

Set the deployParameters property: The deployment parameters of the network function definition version.

Overrides:

ContainerizedNetworkFunctionDefinitionVersion.withDeployParameters(String deployParameters)

Parameters:

deployParameters

withDescription

public ContainerizedNetworkFunctionDefinitionVersion withDescription(String description)

Set the description property: The network function definition version description.

Overrides:

ContainerizedNetworkFunctionDefinitionVersion.withDescription(String description)

Parameters:

description

withNetworkFunctionTemplate

public ContainerizedNetworkFunctionDefinitionVersion withNetworkFunctionTemplate(ContainerizedNetworkFunctionTemplate networkFunctionTemplate)

Set the networkFunctionTemplate property: Containerized network function template.

Parameters:

networkFunctionTemplate - the networkFunctionTemplate value to set.

Returns:

the ContainerizedNetworkFunctionDefinitionVersion object itself.

Applies to