你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FlowLogFormatParameters Class

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

Implements

public final class FlowLogFormatParameters
implements JsonSerializable<FlowLogFormatParameters>

Parameters that define the flow log format.

Constructor Summary

Constructor Description
FlowLogFormatParameters()

Creates an instance of FlowLogFormatParameters class.

Method Summary

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

Reads an instance of FlowLogFormatParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
FlowLogFormatType type()

Get the type property: The file type of flow log.

void validate()

Validates the instance.

Integer version()

Get the version property: The version (revision) of the flow log.

FlowLogFormatParameters withType(FlowLogFormatType type)

Set the type property: The file type of flow log.

FlowLogFormatParameters withVersion(Integer version)

Set the version property: The version (revision) of the flow log.

Methods inherited from java.lang.Object

Constructor Details

FlowLogFormatParameters

public FlowLogFormatParameters()

Creates an instance of FlowLogFormatParameters class.

Method Details

fromJson

public static FlowLogFormatParameters fromJson(JsonReader jsonReader)

Reads an instance of FlowLogFormatParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public FlowLogFormatType type()

Get the type property: The file type of flow log.

Returns:

the type value.

validate

public void validate()

Validates the instance.

version

public Integer version()

Get the version property: The version (revision) of the flow log.

Returns:

the version value.

withType

public FlowLogFormatParameters withType(FlowLogFormatType type)

Set the type property: The file type of flow log.

Parameters:

type - the type value to set.

Returns:

the FlowLogFormatParameters object itself.

withVersion

public FlowLogFormatParameters withVersion(Integer version)

Set the version property: The version (revision) of the flow log.

Parameters:

version - the version value to set.

Returns:

the FlowLogFormatParameters object itself.

Applies to