azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.e...

150 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.eventhubs.models.Encryption"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption"
name: "Encryption"
nameWithType: "Encryption"
summary: "Properties to configure Encryption."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **Encryption**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.eventhubs.models.Encryption?alt=com.azure.resourcemanager.eventhubs.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.Encryption()"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.Encryption()"
name: "Encryption()"
nameWithType: "Encryption.Encryption()"
summary: "Creates an instance of Encryption class."
syntax: "public Encryption()"
desc: "Creates an instance of Encryption class."
methods:
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Encryption.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Encryption from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static Encryption fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Encryption."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of Encryption from the JsonReader."
returns:
description: "An instance of Encryption if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.eventhubs.models.Encryption?alt=com.azure.resourcemanager.eventhubs.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.keySource()"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.keySource()"
name: "keySource()"
nameWithType: "Encryption.keySource()"
summary: "Get the key<wbr>Source property: Enumerates the possible value of key<wbr>Source for Encryption."
syntax: "public KeySource keySource()"
desc: "Get the keySource property: Enumerates the possible value of keySource for Encryption."
returns:
description: "the keySource value."
type: "<xref href=\"com.azure.resourcemanager.eventhubs.models.KeySource?alt=com.azure.resourcemanager.eventhubs.models.KeySource&text=KeySource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.keyVaultProperties()"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.keyVaultProperties()"
name: "keyVaultProperties()"
nameWithType: "Encryption.keyVaultProperties()"
summary: "Get the key<wbr>Vault<wbr>Properties property: Properties of Key<wbr>Vault."
syntax: "public List<KeyVaultProperties> keyVaultProperties()"
desc: "Get the keyVaultProperties property: Properties of KeyVault."
returns:
description: "the keyVaultProperties value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.eventhubs.models.KeyVaultProperties?alt=com.azure.resourcemanager.eventhubs.models.KeyVaultProperties&text=KeyVaultProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.requireInfrastructureEncryption()"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.requireInfrastructureEncryption()"
name: "requireInfrastructureEncryption()"
nameWithType: "Encryption.requireInfrastructureEncryption()"
summary: "Get the require<wbr>Infrastructure<wbr>Encryption property: Enable Infrastructure Encryption (Double Encryption)."
syntax: "public Boolean requireInfrastructureEncryption()"
desc: "Get the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption)."
returns:
description: "the requireInfrastructureEncryption value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Encryption.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.validate()"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.validate()"
name: "validate()"
nameWithType: "Encryption.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.withKeySource(com.azure.resourcemanager.eventhubs.models.KeySource)"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.withKeySource(KeySource keySource)"
name: "withKeySource(KeySource keySource)"
nameWithType: "Encryption.withKeySource(KeySource keySource)"
summary: "Set the key<wbr>Source property: Enumerates the possible value of key<wbr>Source for Encryption."
parameters:
- description: "the keySource value to set."
name: "keySource"
type: "<xref href=\"com.azure.resourcemanager.eventhubs.models.KeySource?alt=com.azure.resourcemanager.eventhubs.models.KeySource&text=KeySource\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Encryption withKeySource(KeySource keySource)"
desc: "Set the keySource property: Enumerates the possible value of keySource for Encryption."
returns:
description: "the Encryption object itself."
type: "<xref href=\"com.azure.resourcemanager.eventhubs.models.Encryption?alt=com.azure.resourcemanager.eventhubs.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.withKeyVaultProperties(java.util.List<com.azure.resourcemanager.eventhubs.models.KeyVaultProperties>)"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.withKeyVaultProperties(List<KeyVaultProperties> keyVaultProperties)"
name: "withKeyVaultProperties(List<KeyVaultProperties> keyVaultProperties)"
nameWithType: "Encryption.withKeyVaultProperties(List<KeyVaultProperties> keyVaultProperties)"
summary: "Set the key<wbr>Vault<wbr>Properties property: Properties of Key<wbr>Vault."
parameters:
- description: "the keyVaultProperties value to set."
name: "keyVaultProperties"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.eventhubs.models.KeyVaultProperties?alt=com.azure.resourcemanager.eventhubs.models.KeyVaultProperties&text=KeyVaultProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public Encryption withKeyVaultProperties(List<KeyVaultProperties> keyVaultProperties)"
desc: "Set the keyVaultProperties property: Properties of KeyVault."
returns:
description: "the Encryption object itself."
type: "<xref href=\"com.azure.resourcemanager.eventhubs.models.Encryption?alt=com.azure.resourcemanager.eventhubs.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.eventhubs.models.Encryption.withRequireInfrastructureEncryption(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.eventhubs.models.Encryption.withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)"
name: "withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)"
nameWithType: "Encryption.withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)"
summary: "Set the require<wbr>Infrastructure<wbr>Encryption property: Enable Infrastructure Encryption (Double Encryption)."
parameters:
- description: "the requireInfrastructureEncryption value to set."
name: "requireInfrastructureEncryption"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public Encryption withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)"
desc: "Set the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption)."
returns:
description: "the Encryption object itself."
type: "<xref href=\"com.azure.resourcemanager.eventhubs.models.Encryption?alt=com.azure.resourcemanager.eventhubs.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Properties to configure Encryption."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.eventhubs.models.Encryption?alt=com.azure.resourcemanager.eventhubs.models.Encryption&text=Encryption\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.eventhubs.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-eventhubs:2.42.0