#[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 to access your Azure Blob Storage.
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 to access your Azure Blob Storage.
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 to access your Azure Blob Storage.
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) -> Result<AzureBlobSasConfiguration, BuildError>
pub fn build(self) -> Result<AzureBlobSasConfiguration, BuildError>
Consumes the builder and constructs a AzureBlobSasConfiguration
.
This method will fail if any of the following fields are not set:
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 for AzureBlobSasConfigurationBuilder
impl PartialEq 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 ==
.