/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.datasync.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateLocationAzureBlobRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* Specifies the URL of the Azure Blob Storage container involved in your transfer. *
*/ private String containerUrl; /** ** Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob * storage using a shared access signature (SAS). *
*/ private String authenticationType; /** ** Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. *
*/ private AzureBlobSasConfiguration sasConfiguration; /** ** 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. *
*/ private String blobType; /** ** 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. *
*/ private String accessTier; /** *
* Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,
* /my/images
).
*
* 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. *
*/ private java.util.List* 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. *
*/ private java.util.List* Specifies the URL of the Azure Blob Storage container involved in your transfer. *
* * @param containerUrl * Specifies the URL of the Azure Blob Storage container involved in your transfer. */ public void setContainerUrl(String containerUrl) { this.containerUrl = containerUrl; } /** ** Specifies the URL of the Azure Blob Storage container involved in your transfer. *
* * @return Specifies the URL of the Azure Blob Storage container involved in your transfer. */ public String getContainerUrl() { return this.containerUrl; } /** ** Specifies the URL of the Azure Blob Storage container involved in your transfer. *
* * @param containerUrl * Specifies the URL of the Azure Blob Storage container involved in your transfer. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateLocationAzureBlobRequest withContainerUrl(String containerUrl) { setContainerUrl(containerUrl); return this; } /** ** Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob * storage using a shared access signature (SAS). *
* * @param authenticationType * Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access * blob storage using a shared access signature (SAS). * @see AzureBlobAuthenticationType */ public void setAuthenticationType(String authenticationType) { this.authenticationType = authenticationType; } /** ** Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob * storage using a shared access signature (SAS). *
* * @return Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access * blob storage using a shared access signature (SAS). * @see AzureBlobAuthenticationType */ public String getAuthenticationType() { return this.authenticationType; } /** ** Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob * storage using a shared access signature (SAS). *
* * @param authenticationType * Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access * blob storage using a shared access signature (SAS). * @return Returns a reference to this object so that method calls can be chained together. * @see AzureBlobAuthenticationType */ public CreateLocationAzureBlobRequest withAuthenticationType(String authenticationType) { setAuthenticationType(authenticationType); return this; } /** ** Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob * storage using a shared access signature (SAS). *
* * @param authenticationType * Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access * blob storage using a shared access signature (SAS). * @return Returns a reference to this object so that method calls can be chained together. * @see AzureBlobAuthenticationType */ public CreateLocationAzureBlobRequest withAuthenticationType(AzureBlobAuthenticationType authenticationType) { this.authenticationType = authenticationType.toString(); return this; } /** ** Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. *
* * @param sasConfiguration * Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. */ public void setSasConfiguration(AzureBlobSasConfiguration sasConfiguration) { this.sasConfiguration = sasConfiguration; } /** ** Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. *
* * @return Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. */ public AzureBlobSasConfiguration getSasConfiguration() { return this.sasConfiguration; } /** ** Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. *
* * @param sasConfiguration * Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateLocationAzureBlobRequest withSasConfiguration(AzureBlobSasConfiguration sasConfiguration) { setSasConfiguration(sasConfiguration); return this; } /** ** 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. *
* * @param 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. * @see AzureBlobType */ public void setBlobType(String blobType) { this.blobType = 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. *
* * @return 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. * @see AzureBlobType */ public String getBlobType() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. * @see AzureBlobType */ public CreateLocationAzureBlobRequest withBlobType(String blobType) { setBlobType(blobType); return this; } /** ** 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. * @see AzureBlobType */ public CreateLocationAzureBlobRequest withBlobType(AzureBlobType blobType) { this.blobType = blobType.toString(); return this; } /** ** 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. *
* * @param 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. * @see AzureAccessTier */ public void setAccessTier(String accessTier) { this.accessTier = 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. *
* * @return 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. * @see AzureAccessTier */ public String getAccessTier() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. * @see AzureAccessTier */ public CreateLocationAzureBlobRequest withAccessTier(String accessTier) { setAccessTier(accessTier); return this; } /** ** 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. * @see AzureAccessTier */ public CreateLocationAzureBlobRequest withAccessTier(AzureAccessTier accessTier) { this.accessTier = accessTier.toString(); return this; } /** *
* Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,
* /my/images
).
*
/my/images
).
*/
public void setSubdirectory(String subdirectory) {
this.subdirectory = subdirectory;
}
/**
*
* Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,
* /my/images
).
*
/my/images
).
*/
public String getSubdirectory() {
return this.subdirectory;
}
/**
*
* Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,
* /my/images
).
*
/my/images
).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateLocationAzureBlobRequest withSubdirectory(String subdirectory) {
setSubdirectory(subdirectory);
return this;
}
/**
* * 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. *
* * @return 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.
*/
public java.util.List
* 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.
*
* You can specify more than one agent. For more information, see Using multiple agents
* for your transfer.
*/
public void setAgentArns(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setAgentArns(java.util.Collection)} or {@link #withAgentArns(java.util.Collection)} if you want to
* override the existing values.
*
* You can specify more than one agent. For more information, see Using multiple agents
* for your transfer.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateLocationAzureBlobRequest withAgentArns(String... agentArns) {
if (this.agentArns == null) {
setAgentArns(new java.util.ArrayList
* 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.
*
* You can specify more than one agent. For more information, see Using multiple agents
* for your transfer.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateLocationAzureBlobRequest withAgentArns(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the
* existing values.
*
* 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.
*