Struct aws_sdk_datasync::operation::update_location_azure_blob::builders::UpdateLocationAzureBlobFluentBuilder
source · pub struct UpdateLocationAzureBlobFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateLocationAzureBlob
.
Modifies some configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.
Implementations§
source§impl UpdateLocationAzureBlobFluentBuilder
impl UpdateLocationAzureBlobFluentBuilder
sourcepub fn as_input(&self) -> &UpdateLocationAzureBlobInputBuilder
pub fn as_input(&self) -> &UpdateLocationAzureBlobInputBuilder
Access the UpdateLocationAzureBlob as a reference.
sourcepub async fn send(
self
) -> Result<UpdateLocationAzureBlobOutput, SdkError<UpdateLocationAzureBlobError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateLocationAzureBlobOutput, SdkError<UpdateLocationAzureBlobError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateLocationAzureBlobOutput, UpdateLocationAzureBlobError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateLocationAzureBlobOutput, UpdateLocationAzureBlobError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn location_arn(self, input: impl Into<String>) -> Self
pub fn location_arn(self, input: impl Into<String>) -> Self
Specifies the ARN of the Azure Blob Storage transfer location that you're updating.
sourcepub fn set_location_arn(self, input: Option<String>) -> Self
pub fn set_location_arn(self, input: Option<String>) -> Self
Specifies the ARN of the Azure Blob Storage transfer location that you're updating.
sourcepub fn get_location_arn(&self) -> &Option<String>
pub fn get_location_arn(&self) -> &Option<String>
Specifies the ARN of the Azure Blob Storage transfer location that you're updating.
sourcepub fn subdirectory(self, input: impl Into<String>) -> Self
pub fn subdirectory(self, input: impl Into<String>) -> Self
Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example, /my/images
).
sourcepub fn set_subdirectory(self, input: Option<String>) -> Self
pub fn set_subdirectory(self, input: Option<String>) -> Self
Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example, /my/images
).
sourcepub fn get_subdirectory(&self) -> &Option<String>
pub fn get_subdirectory(&self) -> &Option<String>
Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example, /my/images
).
sourcepub fn authentication_type(self, input: AzureBlobAuthenticationType) -> Self
pub fn authentication_type(self, input: AzureBlobAuthenticationType) -> Self
Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS).
sourcepub fn set_authentication_type(
self,
input: Option<AzureBlobAuthenticationType>
) -> Self
pub fn set_authentication_type( self, input: Option<AzureBlobAuthenticationType> ) -> Self
Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS).
sourcepub fn get_authentication_type(&self) -> &Option<AzureBlobAuthenticationType>
pub fn get_authentication_type(&self) -> &Option<AzureBlobAuthenticationType>
Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS).
sourcepub fn sas_configuration(self, input: AzureBlobSasConfiguration) -> Self
pub fn sas_configuration(self, input: AzureBlobSasConfiguration) -> Self
Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.
sourcepub fn set_sas_configuration(
self,
input: Option<AzureBlobSasConfiguration>
) -> Self
pub fn set_sas_configuration( self, input: Option<AzureBlobSasConfiguration> ) -> Self
Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.
sourcepub fn get_sas_configuration(&self) -> &Option<AzureBlobSasConfiguration>
pub fn get_sas_configuration(&self) -> &Option<AzureBlobSasConfiguration>
Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.
sourcepub fn blob_type(self, input: AzureBlobType) -> Self
pub fn blob_type(self, input: AzureBlobType) -> Self
Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Currently, DataSync only supports moving data into Azure Blob Storage as block blobs. For more information on blob types, see the Azure Blob Storage documentation.
sourcepub fn set_blob_type(self, input: Option<AzureBlobType>) -> Self
pub fn set_blob_type(self, input: Option<AzureBlobType>) -> Self
Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Currently, DataSync only supports moving data into Azure Blob Storage as block blobs. For more information on blob types, see the Azure Blob Storage documentation.
sourcepub fn get_blob_type(&self) -> &Option<AzureBlobType>
pub fn get_blob_type(&self) -> &Option<AzureBlobType>
Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Currently, DataSync only supports moving data into Azure Blob Storage as block blobs. For more information on blob types, see the Azure Blob Storage documentation.
sourcepub fn access_tier(self, input: AzureAccessTier) -> Self
pub fn access_tier(self, input: AzureAccessTier) -> Self
Specifies the access tier that you want your objects or files transferred into. This only applies when using the location as a transfer destination. For more information, see Access tiers.
sourcepub fn set_access_tier(self, input: Option<AzureAccessTier>) -> Self
pub fn set_access_tier(self, input: Option<AzureAccessTier>) -> Self
Specifies the access tier that you want your objects or files transferred into. This only applies when using the location as a transfer destination. For more information, see Access tiers.
sourcepub fn get_access_tier(&self) -> &Option<AzureAccessTier>
pub fn get_access_tier(&self) -> &Option<AzureAccessTier>
Specifies the access tier that you want your objects or files transferred into. This only applies when using the location as a transfer destination. For more information, see Access tiers.
sourcepub fn agent_arns(self, input: impl Into<String>) -> Self
pub fn agent_arns(self, input: impl Into<String>) -> Self
Appends an item to AgentArns
.
To override the contents of this collection use set_agent_arns
.
Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.
You can specify more than one agent. For more information, see Using multiple agents for your transfer.
sourcepub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.
You can specify more than one agent. For more information, see Using multiple agents for your transfer.
sourcepub fn get_agent_arns(&self) -> &Option<Vec<String>>
pub fn get_agent_arns(&self) -> &Option<Vec<String>>
Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.
You can specify more than one agent. For more information, see Using multiple agents for your transfer.
Trait Implementations§
source§impl Clone for UpdateLocationAzureBlobFluentBuilder
impl Clone for UpdateLocationAzureBlobFluentBuilder
source§fn clone(&self) -> UpdateLocationAzureBlobFluentBuilder
fn clone(&self) -> UpdateLocationAzureBlobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateLocationAzureBlobFluentBuilder
impl !RefUnwindSafe for UpdateLocationAzureBlobFluentBuilder
impl Send for UpdateLocationAzureBlobFluentBuilder
impl Sync for UpdateLocationAzureBlobFluentBuilder
impl Unpin for UpdateLocationAzureBlobFluentBuilder
impl !UnwindSafe for UpdateLocationAzureBlobFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more