Struct aws_sdk_datasync::operation::create_location_azure_blob::builders::CreateLocationAzureBlobInputBuilder
source · #[non_exhaustive]pub struct CreateLocationAzureBlobInputBuilder { /* private fields */ }
Expand description
A builder for CreateLocationAzureBlobInput
.
Implementations§
source§impl CreateLocationAzureBlobInputBuilder
impl CreateLocationAzureBlobInputBuilder
sourcepub fn container_url(self, input: impl Into<String>) -> Self
pub fn container_url(self, input: impl Into<String>) -> Self
Specifies the URL of the Azure Blob Storage container involved in your transfer.
This field is required.sourcepub fn set_container_url(self, input: Option<String>) -> Self
pub fn set_container_url(self, input: Option<String>) -> Self
Specifies the URL of the Azure Blob Storage container involved in your transfer.
sourcepub fn get_container_url(&self) -> &Option<String>
pub fn get_container_url(&self) -> &Option<String>
Specifies the URL of the Azure Blob Storage container involved in your transfer.
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).
This field is required.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 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 agent_arns(self, input: impl Into<String>) -> Self
pub fn agent_arns(self, input: impl Into<String>) -> Self
Appends an item to agent_arns
.
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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.
sourcepub fn build(self) -> Result<CreateLocationAzureBlobInput, BuildError>
pub fn build(self) -> Result<CreateLocationAzureBlobInput, BuildError>
Consumes the builder and constructs a CreateLocationAzureBlobInput
.
source§impl CreateLocationAzureBlobInputBuilder
impl CreateLocationAzureBlobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLocationAzureBlobOutput, SdkError<CreateLocationAzureBlobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLocationAzureBlobOutput, SdkError<CreateLocationAzureBlobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLocationAzureBlobInputBuilder
impl Clone for CreateLocationAzureBlobInputBuilder
source§fn clone(&self) -> CreateLocationAzureBlobInputBuilder
fn clone(&self) -> CreateLocationAzureBlobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateLocationAzureBlobInputBuilder
impl Default for CreateLocationAzureBlobInputBuilder
source§fn default() -> CreateLocationAzureBlobInputBuilder
fn default() -> CreateLocationAzureBlobInputBuilder
source§impl PartialEq for CreateLocationAzureBlobInputBuilder
impl PartialEq for CreateLocationAzureBlobInputBuilder
source§fn eq(&self, other: &CreateLocationAzureBlobInputBuilder) -> bool
fn eq(&self, other: &CreateLocationAzureBlobInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLocationAzureBlobInputBuilder
Auto Trait Implementations§
impl Freeze for CreateLocationAzureBlobInputBuilder
impl RefUnwindSafe for CreateLocationAzureBlobInputBuilder
impl Send for CreateLocationAzureBlobInputBuilder
impl Sync for CreateLocationAzureBlobInputBuilder
impl Unpin for CreateLocationAzureBlobInputBuilder
impl UnwindSafe for CreateLocationAzureBlobInputBuilder
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