Share via


NetworkFunctionInner Class

public final class NetworkFunctionInner
extends Resource

Network function resource response.

Constructor Summary

Constructor Description
NetworkFunctionInner()

Creates an instance of NetworkFunctionInner class.

Method Summary

Modifier and Type Method and Description
String etag()

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

static NetworkFunctionInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkFunctionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedServiceIdentity identity()

Get the identity property: The managed identity of the network function.

String name()

Get the name property: The name of the resource.

NetworkFunctionPropertiesFormat properties()

Get the properties property: Network function properties.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

NetworkFunctionInner withEtag(String etag)

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

NetworkFunctionInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed identity of the network function.

NetworkFunctionInner withLocation(String location)
NetworkFunctionInner withProperties(NetworkFunctionPropertiesFormat properties)

Set the properties property: Network function properties.

NetworkFunctionInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

NetworkFunctionInner

public NetworkFunctionInner()

Creates an instance of NetworkFunctionInner class.

Method Details

etag

public String etag()

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

Returns:

the etag value.

fromJson

public static NetworkFunctionInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkFunctionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

NetworkFunctionInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The managed identity of the network function.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

NetworkFunctionInner.name()

Returns:

the name value.

properties

public NetworkFunctionPropertiesFormat properties()

Get the properties property: Network function properties.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkFunctionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

NetworkFunctionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEtag

public NetworkFunctionInner withEtag(String etag)

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

Parameters:

etag - the etag value to set.

Returns:

the NetworkFunctionInner object itself.

withIdentity

public NetworkFunctionInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed identity of the network function.

Parameters:

identity - the identity value to set.

Returns:

the NetworkFunctionInner object itself.

withLocation

public NetworkFunctionInner withLocation(String location)

Overrides:

NetworkFunctionInner.withLocation(String location)

Parameters:

location

withProperties

public NetworkFunctionInner withProperties(NetworkFunctionPropertiesFormat properties)

Set the properties property: Network function properties.

Parameters:

properties - the properties value to set.

Returns:

the NetworkFunctionInner object itself.

withTags

public NetworkFunctionInner withTags(Map<String,String> tags)

Overrides:

NetworkFunctionInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to