FileSystemEncryptionScopeOptions Class
- java.
lang. Object - com.
azure. storage. file. datalake. options. FileSystemEncryptionScopeOptions
- com.
Implements
public final class FileSystemEncryptionScopeOptions
implements JsonSerializable<FileSystemEncryptionScopeOptions>
Encryption scope options to be used when creating a file system.
Constructor Summary
Constructor | Description | |
---|---|---|
FileSystemEncryptionScopeOptions() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
File |
fromJson(JsonReader jsonReader)
Reads a JSON stream into a FileSystemEncryptionScopeOptions. |
String |
getDefaultEncryptionScope()
Get the default |
Boolean |
isEncryptionScopeOverridePrevented()
Get the encryption |
File |
setDefaultEncryptionScope(String encryptionScope)
Set the default |
File |
setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented)
Set the encryption |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
FileSystemEncryptionScopeOptions
public FileSystemEncryptionScopeOptions()
Method Details
fromJson
public static FileSystemEncryptionScopeOptions fromJson(JsonReader jsonReader)
Reads a JSON stream into a FileSystemEncryptionScopeOptions.
Parameters:
Returns:
Throws:
getDefaultEncryptionScope
public String getDefaultEncryptionScope()
Get the defaultEncryptionScope property: Optional. Version 2021-06-08 and later. Specifies the default encryption scope to set on the file system and use for all future writes.
Returns:
isEncryptionScopeOverridePrevented
public Boolean isEncryptionScopeOverridePrevented()
Get the encryptionScopeOverridePrevented property: Optional. Version 2021-06-08 and newer. If true, prevents any request from specifying a different encryption scope than the scope set on the container.
Returns:
setDefaultEncryptionScope
public FileSystemEncryptionScopeOptions setDefaultEncryptionScope(String encryptionScope)
Set the defaultEncryptionScope property: Optional. Version 2021-06-08 and later. Specifies the default encryption scope to set on the file system and use for all future writes.
Parameters:
Returns:
setEncryptionScopeOverridePrevented
public FileSystemEncryptionScopeOptions setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented)
Set the encryptionScopeOverridePrevented property: Optional. Version 2021-06-08 and newer. If true, prevents any request from specifying a different encryption scope than the scope set on the container.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java