通过


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

EncryptionInTransit Class

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

Implements

public final class EncryptionInTransit
implements JsonSerializable<EncryptionInTransit>

Encryption in transit setting.

Constructor Summary

Constructor Description
EncryptionInTransit()

Creates an instance of EncryptionInTransit class.

Method Summary

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

Reads an instance of EncryptionInTransit from the JsonReader.

Boolean required()

Get the required property: Indicates whether encryption in transit is required.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EncryptionInTransit withRequired(Boolean required)

Set the required property: Indicates whether encryption in transit is required.

Methods inherited from java.lang.Object

Constructor Details

EncryptionInTransit

public EncryptionInTransit()

Creates an instance of EncryptionInTransit class.

Method Details

fromJson

public static EncryptionInTransit fromJson(JsonReader jsonReader)

Reads an instance of EncryptionInTransit from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

required

public Boolean required()

Get the required property: Indicates whether encryption in transit is required.

Returns:

the required value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRequired

public EncryptionInTransit withRequired(Boolean required)

Set the required property: Indicates whether encryption in transit is required.

Parameters:

required - the required value to set.

Returns:

the EncryptionInTransit object itself.

Applies to