다음을 통해 공유


NfsSetting Class

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

Implements

public final class NfsSetting
implements JsonSerializable<NfsSetting>

Setting for NFS protocol.

Constructor Summary

Constructor Description
NfsSetting()

Creates an instance of NfsSetting class.

Method Summary

Modifier and Type Method and Description
EncryptionInTransit encryptionInTransit()

Get the encryptionInTransit property: Encryption in transit setting.

static NfsSetting fromJson(JsonReader jsonReader)

Reads an instance of NfsSetting from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NfsSetting withEncryptionInTransit(EncryptionInTransit encryptionInTransit)

Set the encryptionInTransit property: Encryption in transit setting.

Methods inherited from java.lang.Object

Constructor Details

NfsSetting

public NfsSetting()

Creates an instance of NfsSetting class.

Method Details

encryptionInTransit

public EncryptionInTransit encryptionInTransit()

Get the encryptionInTransit property: Encryption in transit setting.

Returns:

the encryptionInTransit value.

fromJson

public static NfsSetting fromJson(JsonReader jsonReader)

Reads an instance of NfsSetting from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEncryptionInTransit

public NfsSetting withEncryptionInTransit(EncryptionInTransit encryptionInTransit)

Set the encryptionInTransit property: Encryption in transit setting.

Parameters:

encryptionInTransit - the encryptionInTransit value to set.

Returns:

the NfsSetting object itself.

Applies to