EncryptionInTransit Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. EncryptionInTransit
- com.
Implements
public final class EncryptionInTransit
implements JsonSerializable<EncryptionInTransit>
Encryption in transit setting.
Constructor Summary
| Constructor | Description |
|---|---|
| EncryptionInTransit() |
Creates an instance of Encryption |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
| Boolean |
required()
Get the required property: Indicates whether encryption in transit is required. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Encryption |
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:
Returns:
Throws:
required
public Boolean required()
Get the required property: Indicates whether encryption in transit is required.
Returns:
toJson
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:
Returns: