Class NetworkFunctionTemplate
java.lang.Object
com.azure.resourcemanager.hybridnetwork.models.NetworkFunctionTemplate
The network function template.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NetworkFunctionTemplate class. -
Method Summary
Modifier and TypeMethodDescriptionGet the networkFunctionRoleConfigurations property: An array of network function role definitions.void
validate()
Validates the instance.withNetworkFunctionRoleConfigurations
(List<NetworkFunctionRoleConfiguration> networkFunctionRoleConfigurations) Set the networkFunctionRoleConfigurations property: An array of network function role definitions.
-
Constructor Details
-
NetworkFunctionTemplate
public NetworkFunctionTemplate()Creates an instance of NetworkFunctionTemplate class.
-
-
Method Details
-
networkFunctionRoleConfigurations
Get the networkFunctionRoleConfigurations property: An array of network function role definitions.- Returns:
- the networkFunctionRoleConfigurations value.
-
withNetworkFunctionRoleConfigurations
public NetworkFunctionTemplate withNetworkFunctionRoleConfigurations(List<NetworkFunctionRoleConfiguration> networkFunctionRoleConfigurations) Set the networkFunctionRoleConfigurations property: An array of network function role definitions.- Parameters:
networkFunctionRoleConfigurations
- the networkFunctionRoleConfigurations value to set.- Returns:
- the NetworkFunctionTemplate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-