Interface CreateLocationAzureBlobRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateLocationAzureBlobRequest.Builder,,- CreateLocationAzureBlobRequest> - DataSyncRequest.Builder,- SdkBuilder<CreateLocationAzureBlobRequest.Builder,,- CreateLocationAzureBlobRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateLocationAzureBlobRequest
- 
Method SummaryModifier and TypeMethodDescriptionaccessTier(String accessTier) Specifies the access tier that you want your objects or files transferred into.accessTier(AzureAccessTier accessTier) Specifies the access tier that you want your objects or files transferred into.(Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.agentArns(Collection<String> agentArns) (Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container.authenticationType(String authenticationType) Specifies the authentication method DataSync uses to access your Azure Blob Storage.authenticationType(AzureBlobAuthenticationType authenticationType) Specifies the authentication method DataSync uses to access your Azure Blob Storage.Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage.blobType(AzureBlobType blobType) Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage.cmkSecretConfig(Consumer<CmkSecretConfig.Builder> cmkSecretConfig) Specifies configuration information for a DataSync-managed secret, which includes the authentication token that DataSync uses to access a specific AzureBlob storage location, with a customer-managed KMS key.cmkSecretConfig(CmkSecretConfig cmkSecretConfig) Specifies configuration information for a DataSync-managed secret, which includes the authentication token that DataSync uses to access a specific AzureBlob storage location, with a customer-managed KMS key.containerUrl(String containerUrl) Specifies the URL of the Azure Blob Storage container involved in your transfer.customSecretConfig(Consumer<CustomSecretConfig.Builder> customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where the authentication token for an AzureBlob storage location is stored in plain text.customSecretConfig(CustomSecretConfig customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where the authentication token for an AzureBlob storage location is stored in plain text.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sasConfiguration(Consumer<AzureBlobSasConfiguration.Builder> sasConfiguration) Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.sasConfiguration(AzureBlobSasConfiguration sasConfiguration) Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.subdirectory(String subdirectory) Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,/my/images).tags(Collection<TagListEntry> tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.tags(Consumer<TagListEntry.Builder>... tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.tags(TagListEntry... tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
containerUrlSpecifies the URL of the Azure Blob Storage container involved in your transfer. - Parameters:
- containerUrl- Specifies the URL of the Azure Blob Storage container involved in your transfer.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
authenticationTypeSpecifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS). - Parameters:
- authenticationType- Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
authenticationTypeCreateLocationAzureBlobRequest.Builder authenticationType(AzureBlobAuthenticationType authenticationType) Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS). - Parameters:
- authenticationType- Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sasConfigurationSpecifies 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 Amazon Web Services account's secrets manager secret.- Parameters:
- sasConfiguration- 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 using- CmkSecretConfigor- CustomSecretConfig, then DataSync stores the token using your Amazon Web Services account's secrets manager secret.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sasConfigurationdefault CreateLocationAzureBlobRequest.Builder sasConfiguration(Consumer<AzureBlobSasConfiguration.Builder> sasConfiguration) 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 Amazon Web Services account's secrets manager secret.AzureBlobSasConfiguration.Builderavoiding the need to create one manually viaAzureBlobSasConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosasConfiguration(AzureBlobSasConfiguration).- Parameters:
- sasConfiguration- a consumer that will call methods on- AzureBlobSasConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
blobTypeSpecifies 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. - Parameters:
- blobType- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
blobTypeSpecifies 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. - Parameters:
- blobType- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accessTierSpecifies 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. - Parameters:
- accessTier- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accessTierSpecifies 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. - Parameters:
- accessTier- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subdirectorySpecifies path segments if you want to limit your transfer to a virtual directory in your container (for example, /my/images).- Parameters:
- subdirectory- Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,- /my/images).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
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. - 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:
- Returns a reference to this object so that method calls can be chained together.
 
- 
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. - 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:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsSpecifies 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsSpecifies 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsSpecifies 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. This is a convenience method that creates an instance of theTagListEntry.Builderavoiding the need to create one manually viaTagListEntry.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<TagListEntry>).- Parameters:
- tags- a consumer that will call methods on- TagListEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
cmkSecretConfigSpecifies configuration information for a DataSync-managed secret, which includes the authentication token that DataSync uses to access a specific AzureBlob storage location, with a customer-managed KMS key. When you include this paramater as part of a CreateLocationAzureBlobrequest, you provide only the KMS key ARN. DataSync uses this KMS key together with the authentication token you specify forSasConfigurationto create a DataSync-managed secret to store the location access credentials.Make sure the DataSync has permission to access the KMS key that you specify. You can use either CmkSecretConfig(withSasConfiguration) orCustomSecretConfig(withoutSasConfiguration) to provide credentials for aCreateLocationAzureBlobrequest. Do not provide both parameters for the same request.- Parameters:
- cmkSecretConfig- Specifies configuration information for a DataSync-managed secret, which includes the authentication token that DataSync uses to access a specific AzureBlob storage location, with a customer-managed KMS key.- When you include this paramater as part of a - CreateLocationAzureBlobrequest, you provide only the KMS key ARN. DataSync uses this KMS key together with the authentication token you specify for- SasConfigurationto create a DataSync-managed secret to store the location access credentials.- Make sure the DataSync has permission to access the KMS key that you specify. - You can use either - CmkSecretConfig(with- SasConfiguration) or- CustomSecretConfig(without- SasConfiguration) to provide credentials for a- CreateLocationAzureBlobrequest. Do not provide both parameters for the same request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cmkSecretConfigdefault CreateLocationAzureBlobRequest.Builder cmkSecretConfig(Consumer<CmkSecretConfig.Builder> cmkSecretConfig) Specifies configuration information for a DataSync-managed secret, which includes the authentication token that DataSync uses to access a specific AzureBlob storage location, with a customer-managed KMS key. When you include this paramater as part of a CreateLocationAzureBlobrequest, you provide only the KMS key ARN. DataSync uses this KMS key together with the authentication token you specify forSasConfigurationto create a DataSync-managed secret to store the location access credentials.Make sure the DataSync has permission to access the KMS key that you specify. You can use either CmkSecretConfig(withSasConfiguration) orCustomSecretConfig(withoutSasConfiguration) to provide credentials for aCreateLocationAzureBlobrequest. Do not provide both parameters for the same request.CmkSecretConfig.Builderavoiding the need to create one manually viaCmkSecretConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocmkSecretConfig(CmkSecretConfig).- Parameters:
- cmkSecretConfig- a consumer that will call methods on- CmkSecretConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
customSecretConfigSpecifies configuration information for a customer-managed Secrets Manager secret where the authentication token for an AzureBlob storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. You can use either CmkSecretConfig(withSasConfiguration) orCustomSecretConfig(withoutSasConfiguration) to provide credentials for aCreateLocationAzureBlobrequest. Do not provide both parameters for the same request.- Parameters:
- customSecretConfig- Specifies configuration information for a customer-managed Secrets Manager secret where the authentication token for an AzureBlob storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.- You can use either - CmkSecretConfig(with- SasConfiguration) or- CustomSecretConfig(without- SasConfiguration) to provide credentials for a- CreateLocationAzureBlobrequest. Do not provide both parameters for the same request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
customSecretConfigdefault CreateLocationAzureBlobRequest.Builder customSecretConfig(Consumer<CustomSecretConfig.Builder> customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where the authentication token for an AzureBlob storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. You can use either CmkSecretConfig(withSasConfiguration) orCustomSecretConfig(withoutSasConfiguration) to provide credentials for aCreateLocationAzureBlobrequest. Do not provide both parameters for the same request.CustomSecretConfig.Builderavoiding the need to create one manually viaCustomSecretConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomSecretConfig(CustomSecretConfig).- Parameters:
- customSecretConfig- a consumer that will call methods on- CustomSecretConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateLocationAzureBlobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateLocationAzureBlobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-