共用方式為


BlobContainerEncryptionScope Class

  • java.lang.Object
    • com.azure.storage.blob.models.BlobContainerEncryptionScope

public final class BlobContainerEncryptionScope

Parameter group.

Constructor Summary

Constructor Description
BlobContainerEncryptionScope()

Creates an instance of BlobContainerEncryptionScope class.

Method Summary

Modifier and Type Method and Description
String getDefaultEncryptionScope()

Get the defaultEncryptionScope property: Optional.

boolean isEncryptionScopeOverridePrevented()

Get the encryptionScopeOverridePrevented property: Optional.

BlobContainerEncryptionScope setDefaultEncryptionScope(String defaultEncryptionScope)

Set the defaultEncryptionScope property: Optional.

BlobContainerEncryptionScope setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented)

Set the encryptionScopeOverridePrevented property: Optional.

Methods inherited from java.lang.Object

Constructor Details

BlobContainerEncryptionScope

public BlobContainerEncryptionScope()

Creates an instance of BlobContainerEncryptionScope class.

Method Details

getDefaultEncryptionScope

public String 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.

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.

setDefaultEncryptionScope

public BlobContainerEncryptionScope setDefaultEncryptionScope(String defaultEncryptionScope)

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.

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.

Applies to