Encryption Class
- java.
lang. Object - com.
azure. resourcemanager. eventhubs. models. Encryption
- com.
Implements
public final class Encryption
implements JsonSerializable<Encryption>
Properties to configure Encryption.
Constructor Summary
Constructor | Description |
---|---|
Encryption() |
Creates an instance of Encryption class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption from the Json |
Key |
keySource()
Get the key |
List<Key |
keyVaultProperties()
Get the key |
Boolean |
requireInfrastructureEncryption()
Get the require |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Encryption |
withKeySource(KeySource keySource)
Set the key |
Encryption |
withKeyVaultProperties(List<KeyVaultProperties> keyVaultProperties)
Set the key |
Encryption |
withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)
Set the require |
Methods inherited from java.lang.Object
Constructor Details
Encryption
public Encryption()
Creates an instance of Encryption class.
Method Details
fromJson
public static Encryption fromJson(JsonReader jsonReader)
Reads an instance of Encryption from the JsonReader.
Parameters:
Returns:
Throws:
keySource
public KeySource keySource()
Get the keySource property: Enumerates the possible value of keySource for Encryption.
Returns:
keyVaultProperties
public List
Get the keyVaultProperties property: Properties of KeyVault.
Returns:
requireInfrastructureEncryption
public Boolean requireInfrastructureEncryption()
Get the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).
Returns:
toJson
validate
public void validate()
Validates the instance.
withKeySource
public Encryption withKeySource(KeySource keySource)
Set the keySource property: Enumerates the possible value of keySource for Encryption.
Parameters:
Returns:
withKeyVaultProperties
public Encryption withKeyVaultProperties(List
Set the keyVaultProperties property: Properties of KeyVault.
Parameters:
Returns:
withRequireInfrastructureEncryption
public Encryption withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)
Set the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).
Parameters:
Returns:
Applies to
Azure SDK for Java