#[non_exhaustive]pub struct AzureBlobSasConfigurationBuilder { /* private fields */ }
Expand description
A builder for AzureBlobSasConfiguration
.
Implementations§
source§impl AzureBlobSasConfigurationBuilder
impl AzureBlobSasConfigurationBuilder
sourcepub fn token(self, input: impl Into<String>) -> Self
pub fn token(self, input: impl Into<String>) -> Self
Specifies a SAS token that provides permissions at the Azure storage account, container, or folder level.
The token is part of the SAS URI string that comes after the storage resource URI and a question mark. A token looks something like this:
sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D
sourcepub fn set_token(self, input: Option<String>) -> Self
pub fn set_token(self, input: Option<String>) -> Self
Specifies a SAS token that provides permissions at the Azure storage account, container, or folder level.
The token is part of the SAS URI string that comes after the storage resource URI and a question mark. A token looks something like this:
sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D
sourcepub fn get_token(&self) -> &Option<String>
pub fn get_token(&self) -> &Option<String>
Specifies a SAS token that provides permissions at the Azure storage account, container, or folder level.
The token is part of the SAS URI string that comes after the storage resource URI and a question mark. A token looks something like this:
sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D
sourcepub fn build(self) -> AzureBlobSasConfiguration
pub fn build(self) -> AzureBlobSasConfiguration
Consumes the builder and constructs a AzureBlobSasConfiguration
.
Trait Implementations§
source§impl Clone for AzureBlobSasConfigurationBuilder
impl Clone for AzureBlobSasConfigurationBuilder
source§fn clone(&self) -> AzureBlobSasConfigurationBuilder
fn clone(&self) -> AzureBlobSasConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AzureBlobSasConfigurationBuilder
impl Default for AzureBlobSasConfigurationBuilder
source§fn default() -> AzureBlobSasConfigurationBuilder
fn default() -> AzureBlobSasConfigurationBuilder
source§impl PartialEq<AzureBlobSasConfigurationBuilder> for AzureBlobSasConfigurationBuilder
impl PartialEq<AzureBlobSasConfigurationBuilder> for AzureBlobSasConfigurationBuilder
source§fn eq(&self, other: &AzureBlobSasConfigurationBuilder) -> bool
fn eq(&self, other: &AzureBlobSasConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.