Package com.azure.storage.blob.models
Class BlobContainerEncryptionScope
java.lang.Object
com.azure.storage.blob.models.BlobContainerEncryptionScope
Parameter group.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BlobContainerEncryptionScope class. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultEncryptionScope property: Optional.boolean
Get the encryptionScopeOverridePrevented property: Optional.setDefaultEncryptionScope
(String defaultEncryptionScope) Set the defaultEncryptionScope property: Optional.setEncryptionScopeOverridePrevented
(Boolean encryptionScopeOverridePrevented) Set the encryptionScopeOverridePrevented property: Optional.
-
Constructor Details
-
BlobContainerEncryptionScope
public BlobContainerEncryptionScope()Creates an instance of BlobContainerEncryptionScope class.
-
-
Method Details
-
getDefaultEncryptionScope
Get the defaultEncryptionScope property: Optional. Version 2019-07-07 and later. Specifies the default encryption scope to set on the container and use for all future writes.- Returns:
- the defaultEncryptionScope value.
-
setDefaultEncryptionScope
Set the defaultEncryptionScope property: Optional. Version 2019-07-07 and later. Specifies the default encryption scope to set on the container and use for all future writes.- Parameters:
defaultEncryptionScope
- the defaultEncryptionScope value to set.- Returns:
- the BlobContainerEncryptionScope object itself.
-
isEncryptionScopeOverridePrevented
public boolean isEncryptionScopeOverridePrevented()Get the encryptionScopeOverridePrevented property: Optional. Version 2019-07-07 and newer. If true, prevents any request from specifying a different encryption scope than the scope set on the container.- Returns:
- the encryptionScopeOverridePrevented value.
-
setEncryptionScopeOverridePrevented
public BlobContainerEncryptionScope setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented) Set the encryptionScopeOverridePrevented property: Optional. Version 2019-07-07 and newer. If true, prevents any request from specifying a different encryption scope than the scope set on the container.- Parameters:
encryptionScopeOverridePrevented
- the encryptionScopeOverridePrevented value to set.- Returns:
- the BlobContainerEncryptionScope object itself.
-