AzureFirewallRCAction Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.AzureFirewallRCAction

Implements

public final class AzureFirewallRCAction
implements JsonSerializable<AzureFirewallRCAction>

Properties of the AzureFirewallRCAction.

Constructor Summary

Constructor Description
AzureFirewallRCAction()

Creates an instance of AzureFirewallRCAction class.

Method Summary

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

Reads an instance of AzureFirewallRCAction from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
AzureFirewallRCActionType type()

Get the type property: The type of action.

void validate()

Validates the instance.

AzureFirewallRCAction withType(AzureFirewallRCActionType type)

Set the type property: The type of action.

Methods inherited from java.lang.Object

Constructor Details

AzureFirewallRCAction

public AzureFirewallRCAction()

Creates an instance of AzureFirewallRCAction class.

Method Details

fromJson

public static AzureFirewallRCAction fromJson(JsonReader jsonReader)

Reads an instance of AzureFirewallRCAction from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public AzureFirewallRCActionType type()

Get the type property: The type of action.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withType

public AzureFirewallRCAction withType(AzureFirewallRCActionType type)

Set the type property: The type of action.

Parameters:

type - the type value to set.

Returns:

the AzureFirewallRCAction object itself.

Applies to