Class CfnLocationAzureBlobMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationAzureBlobMixinProps>
- Enclosing interface:
CfnLocationAzureBlobMixinProps
CfnLocationAzureBlobMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnLocationAzureBlobMixinProps.getAgentArns()azureAccessTier(String azureAccessTier) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureAccessTier()azureBlobAuthenticationType(String azureBlobAuthenticationType) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobAuthenticationType()azureBlobContainerUrl(String azureBlobContainerUrl) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobContainerUrl()azureBlobSasConfiguration(CfnLocationAzureBlobPropsMixin.AzureBlobSasConfigurationProperty azureBlobSasConfiguration) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobSasConfiguration()azureBlobSasConfiguration(IResolvable azureBlobSasConfiguration) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobSasConfiguration()azureBlobType(String azureBlobType) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobType()build()Builds the configured instance.cmkSecretConfig(CfnLocationAzureBlobPropsMixin.CmkSecretConfigProperty cmkSecretConfig) Sets the value ofCfnLocationAzureBlobMixinProps.getCmkSecretConfig()cmkSecretConfig(IResolvable cmkSecretConfig) Sets the value ofCfnLocationAzureBlobMixinProps.getCmkSecretConfig()customSecretConfig(CfnLocationAzureBlobPropsMixin.CustomSecretConfigProperty customSecretConfig) Sets the value ofCfnLocationAzureBlobMixinProps.getCustomSecretConfig()customSecretConfig(IResolvable customSecretConfig) Sets the value ofCfnLocationAzureBlobMixinProps.getCustomSecretConfig()subdirectory(String subdirectory) Sets the value ofCfnLocationAzureBlobMixinProps.getSubdirectory()Sets the value ofCfnLocationAzureBlobMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentArns
Sets the value ofCfnLocationAzureBlobMixinProps.getAgentArns()- Parameters:
agentArns- (Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container. If you are setting up an agentless cross-cloud transfer, you do not need to specify a value for this parameter.You can specify more than one agent. For more information, see Using multiple agents for your transfer .
Make sure you configure this parameter correctly when you first create your storage location. You cannot add or remove agents from a storage location after you create it.
- Returns:
this
-
azureAccessTier
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder azureAccessTier(String azureAccessTier) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureAccessTier()- Parameters:
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 .- Returns:
this
-
azureBlobAuthenticationType
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder azureBlobAuthenticationType(String azureBlobAuthenticationType) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobAuthenticationType()- Parameters:
azureBlobAuthenticationType- Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS).- Returns:
this
-
azureBlobContainerUrl
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder azureBlobContainerUrl(String azureBlobContainerUrl) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobContainerUrl()- Parameters:
azureBlobContainerUrl- Specifies the URL of the Azure Blob Storage container involved in your transfer.- Returns:
this
-
azureBlobSasConfiguration
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder azureBlobSasConfiguration(IResolvable azureBlobSasConfiguration) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobSasConfiguration()- Parameters:
azureBlobSasConfiguration- Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.If you provide an authentication token using
SasConfiguration, but do not provide secret configuration details usingCmkSecretConfigorCustomSecretConfig, then DataSync stores the token using your AWS account's secrets manager secret.- Returns:
this
-
azureBlobSasConfiguration
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder azureBlobSasConfiguration(CfnLocationAzureBlobPropsMixin.AzureBlobSasConfigurationProperty azureBlobSasConfiguration) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobSasConfiguration()- Parameters:
azureBlobSasConfiguration- Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.If you provide an authentication token using
SasConfiguration, but do not provide secret configuration details usingCmkSecretConfigorCustomSecretConfig, then DataSync stores the token using your AWS account's secrets manager secret.- Returns:
this
-
azureBlobType
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder azureBlobType(String azureBlobType) Sets the value ofCfnLocationAzureBlobMixinProps.getAzureBlobType()- Parameters:
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 .- Returns:
this
-
cmkSecretConfig
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder cmkSecretConfig(IResolvable cmkSecretConfig) Sets the value ofCfnLocationAzureBlobMixinProps.getCmkSecretConfig()- Parameters:
cmkSecretConfig- Specifies configuration information for a DataSync-managed secret, such as an authentication token, secret key, password, or Kerberos keytab that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .You can use either
CmkSecretConfigorCustomSecretConfigto provide credentials for aCreateLocationrequest. Do not provide both parameters for the same request.- Returns:
this
-
cmkSecretConfig
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder cmkSecretConfig(CfnLocationAzureBlobPropsMixin.CmkSecretConfigProperty cmkSecretConfig) Sets the value ofCfnLocationAzureBlobMixinProps.getCmkSecretConfig()- Parameters:
cmkSecretConfig- Specifies configuration information for a DataSync-managed secret, such as an authentication token, secret key, password, or Kerberos keytab that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .You can use either
CmkSecretConfigorCustomSecretConfigto provide credentials for aCreateLocationrequest. Do not provide both parameters for the same request.- Returns:
this
-
customSecretConfig
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder customSecretConfig(IResolvable customSecretConfig) Sets the value ofCfnLocationAzureBlobMixinProps.getCustomSecretConfig()- Parameters:
customSecretConfig- Specifies configuration information for a customer-managed Secrets Manager secret where a storage location credentials is stored in Secrets Manager as plain text (for authentication token, secret key, or password) or as binary (for Kerberos keytab). This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.You can use either
CmkSecretConfigorCustomSecretConfigto provide credentials for aCreateLocationrequest. Do not provide both parameters for the same request.- Returns:
this
-
customSecretConfig
@Stability(Stable) public CfnLocationAzureBlobMixinProps.Builder customSecretConfig(CfnLocationAzureBlobPropsMixin.CustomSecretConfigProperty customSecretConfig) Sets the value ofCfnLocationAzureBlobMixinProps.getCustomSecretConfig()- Parameters:
customSecretConfig- Specifies configuration information for a customer-managed Secrets Manager secret where a storage location credentials is stored in Secrets Manager as plain text (for authentication token, secret key, or password) or as binary (for Kerberos keytab). This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.You can use either
CmkSecretConfigorCustomSecretConfigto provide credentials for aCreateLocationrequest. Do not provide both parameters for the same request.- Returns:
this
-
subdirectory
Sets the value ofCfnLocationAzureBlobMixinProps.getSubdirectory()- Parameters:
subdirectory- Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images).- Returns:
this
-
tags
Sets the value ofCfnLocationAzureBlobMixinProps.getTags()- Parameters:
tags- Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least a name tag for your transfer location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationAzureBlobMixinProps>- Returns:
- a new instance of
CfnLocationAzureBlobMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-