NetworkInterfaceTapConfigurationInner Class

public final class NetworkInterfaceTapConfigurationInner
extends SubResourceModel

Tap configuration in a Network Interface.

Constructor Summary

Constructor Description
NetworkInterfaceTapConfigurationInner()

Creates an instance of NetworkInterfaceTapConfigurationInner 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 NetworkInterfaceTapConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfaceTapConfigurationInner from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the network interface tap configuration resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

VirtualNetworkTapInner virtualNetworkTap()

Get the virtualNetworkTap property: The reference to the Virtual Network Tap resource.

NetworkInterfaceTapConfigurationInner withId(String id)
NetworkInterfaceTapConfigurationInner withName(String name)

Set the name property: Name of the resource.

NetworkInterfaceTapConfigurationInner withVirtualNetworkTap(VirtualNetworkTapInner virtualNetworkTap)

Set the virtualNetworkTap property: The reference to the Virtual Network Tap resource.

Methods inherited from SubResource

id

Methods inherited from SubResourceModel

Methods inherited from java.lang.Object

Constructor Details

NetworkInterfaceTapConfigurationInner

public NetworkInterfaceTapConfigurationInner()

Creates an instance of NetworkInterfaceTapConfigurationInner 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 NetworkInterfaceTapConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfaceTapConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the network interface tap configuration resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkInterfaceTapConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

NetworkInterfaceTapConfigurationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

NetworkInterfaceTapConfigurationInner.validate()

virtualNetworkTap

public VirtualNetworkTapInner virtualNetworkTap()

Get the virtualNetworkTap property: The reference to the Virtual Network Tap resource.

Returns:

the virtualNetworkTap value.

withId

public NetworkInterfaceTapConfigurationInner withId(String id)

Overrides:

NetworkInterfaceTapConfigurationInner.withId(String id)

Parameters:

id

withName

public NetworkInterfaceTapConfigurationInner withName(String name)

Set the name property: Name of the resource.

Overrides:

NetworkInterfaceTapConfigurationInner.withName(String name)

Parameters:

name

withVirtualNetworkTap

public NetworkInterfaceTapConfigurationInner withVirtualNetworkTap(VirtualNetworkTapInner virtualNetworkTap)

Set the virtualNetworkTap property: The reference to the Virtual Network Tap resource.

Parameters:

virtualNetworkTap - the virtualNetworkTap value to set.

Returns:

the NetworkInterfaceTapConfigurationInner object itself.

Applies to