共用方式為


Multichannel Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.Multichannel

Implements

public final class Multichannel
implements JsonSerializable<Multichannel>

Multichannel setting. Applies to Premium FileStorage only.

Constructor Summary

Constructor Description
Multichannel()

Creates an instance of Multichannel class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Indicates whether multichannel is enabled.

static Multichannel fromJson(JsonReader jsonReader)

Reads an instance of Multichannel from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Multichannel withEnabled(Boolean enabled)

Set the enabled property: Indicates whether multichannel is enabled.

Methods inherited from java.lang.Object

Constructor Details

Multichannel

public Multichannel()

Creates an instance of Multichannel class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Indicates whether multichannel is enabled.

Returns:

the enabled value.

fromJson

public static Multichannel fromJson(JsonReader jsonReader)

Reads an instance of Multichannel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public Multichannel withEnabled(Boolean enabled)

Set the enabled property: Indicates whether multichannel is enabled.

Parameters:

enabled - the enabled value to set.

Returns:

the Multichannel object itself.

Applies to