Share via


AzureFirewallPacketCaptureResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.AzureFirewallPacketCaptureResponseInner

Implements

public final class AzureFirewallPacketCaptureResponseInner
implements JsonSerializable<AzureFirewallPacketCaptureResponseInner>

Response of an Azure Firewall Packet Capture Operation.

Constructor Summary

Constructor Description
AzureFirewallPacketCaptureResponseInner()

Creates an instance of AzureFirewallPacketCaptureResponseInner class.

Method Summary

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

Reads an instance of AzureFirewallPacketCaptureResponseInner from the JsonReader.

String message()

Get the message property: Localized Message String of The Result Of The Azure Firewall Packet Capture Operation.

AzureFirewallPacketCaptureResponseCode statusCode()

Get the statusCode property: The response code of the performed packet capture operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureFirewallPacketCaptureResponseInner withMessage(String message)

Set the message property: Localized Message String of The Result Of The Azure Firewall Packet Capture Operation.

AzureFirewallPacketCaptureResponseInner withStatusCode(AzureFirewallPacketCaptureResponseCode statusCode)

Set the statusCode property: The response code of the performed packet capture operation.

Methods inherited from java.lang.Object

Constructor Details

AzureFirewallPacketCaptureResponseInner

public AzureFirewallPacketCaptureResponseInner()

Creates an instance of AzureFirewallPacketCaptureResponseInner class.

Method Details

fromJson

public static AzureFirewallPacketCaptureResponseInner fromJson(JsonReader jsonReader)

Reads an instance of AzureFirewallPacketCaptureResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: Localized Message String of The Result Of The Azure Firewall Packet Capture Operation.

Returns:

the message value.

statusCode

public AzureFirewallPacketCaptureResponseCode statusCode()

Get the statusCode property: The response code of the performed packet capture operation.

Returns:

the statusCode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMessage

public AzureFirewallPacketCaptureResponseInner withMessage(String message)

Set the message property: Localized Message String of The Result Of The Azure Firewall Packet Capture Operation.

Parameters:

message - the message value to set.

Returns:

the AzureFirewallPacketCaptureResponseInner object itself.

withStatusCode

public AzureFirewallPacketCaptureResponseInner withStatusCode(AzureFirewallPacketCaptureResponseCode statusCode)

Set the statusCode property: The response code of the performed packet capture operation.

Parameters:

statusCode - the statusCode value to set.

Returns:

the AzureFirewallPacketCaptureResponseInner object itself.

Applies to