Partager via


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