All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.datasync.model.DescribeLocationAzureBlobResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS DataSync module holds the client classes that are used for communicating with AWS DataSync Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 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;

/**
 * 
 * @see AWS
 *      API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeLocationAzureBlobResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {

    /**
     * 

* The ARN of your Azure Blob Storage transfer location. *

*/ private String locationArn; /** *

* The URL of the Azure Blob Storage container involved in your transfer. *

*/ private String locationUri; /** *

* 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; /** *

* 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; /** *

* 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; /** *

* The ARNs of the DataSync agents that can connect with your Azure Blob Storage container. *

*/ private java.util.List agentArns; /** *

* The time that your Azure Blob Storage transfer location was created. *

*/ private java.util.Date creationTime; /** *

* The ARN of your Azure Blob Storage transfer location. *

* * @param locationArn * The ARN of your Azure Blob Storage transfer location. */ public void setLocationArn(String locationArn) { this.locationArn = locationArn; } /** *

* The ARN of your Azure Blob Storage transfer location. *

* * @return The ARN of your Azure Blob Storage transfer location. */ public String getLocationArn() { return this.locationArn; } /** *

* The ARN of your Azure Blob Storage transfer location. *

* * @param locationArn * The ARN of your Azure Blob Storage transfer location. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeLocationAzureBlobResult withLocationArn(String locationArn) { setLocationArn(locationArn); return this; } /** *

* The URL of the Azure Blob Storage container involved in your transfer. *

* * @param locationUri * The URL of the Azure Blob Storage container involved in your transfer. */ public void setLocationUri(String locationUri) { this.locationUri = locationUri; } /** *

* The URL of the Azure Blob Storage container involved in your transfer. *

* * @return The URL of the Azure Blob Storage container involved in your transfer. */ public String getLocationUri() { return this.locationUri; } /** *

* The URL of the Azure Blob Storage container involved in your transfer. *

* * @param locationUri * 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 DescribeLocationAzureBlobResult withLocationUri(String locationUri) { setLocationUri(locationUri); return this; } /** *

* The authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using * a shared access signature (SAS). *

* * @param authenticationType * 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; } /** *

* The authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using * a shared access signature (SAS). *

* * @return 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; } /** *

* The authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using * a shared access signature (SAS). *

* * @param authenticationType * 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 DescribeLocationAzureBlobResult withAuthenticationType(String authenticationType) { setAuthenticationType(authenticationType); return this; } /** *

* The authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using * a shared access signature (SAS). *

* * @param authenticationType * 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 DescribeLocationAzureBlobResult withAuthenticationType(AzureBlobAuthenticationType authenticationType) { this.authenticationType = authenticationType.toString(); return this; } /** *

* 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 * 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; } /** *

* 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 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; } /** *

* 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 * 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 DescribeLocationAzureBlobResult withBlobType(String blobType) { setBlobType(blobType); return this; } /** *

* 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 * 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 DescribeLocationAzureBlobResult withBlobType(AzureBlobType blobType) { this.blobType = blobType.toString(); return this; } /** *

* 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 * 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; } /** *

* 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 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; } /** *

* 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 * 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 DescribeLocationAzureBlobResult withAccessTier(String accessTier) { setAccessTier(accessTier); return this; } /** *

* 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 * 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 DescribeLocationAzureBlobResult withAccessTier(AzureAccessTier accessTier) { this.accessTier = accessTier.toString(); return this; } /** *

* The ARNs of the DataSync agents that can connect with your Azure Blob Storage container. *

* * @return The ARNs of the DataSync agents that can connect with your Azure Blob Storage container. */ public java.util.List getAgentArns() { return agentArns; } /** *

* The ARNs of the DataSync agents that can connect with your Azure Blob Storage container. *

* * @param agentArns * The ARNs of the DataSync agents that can connect with your Azure Blob Storage container. */ public void setAgentArns(java.util.Collection agentArns) { if (agentArns == null) { this.agentArns = null; return; } this.agentArns = new java.util.ArrayList(agentArns); } /** *

* The ARNs of the DataSync agents that can connect with your Azure Blob Storage container. *

*

* 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. *

* * @param agentArns * The ARNs of the DataSync agents that can connect with your Azure Blob Storage container. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeLocationAzureBlobResult withAgentArns(String... agentArns) { if (this.agentArns == null) { setAgentArns(new java.util.ArrayList(agentArns.length)); } for (String ele : agentArns) { this.agentArns.add(ele); } return this; } /** *

* The ARNs of the DataSync agents that can connect with your Azure Blob Storage container. *

* * @param agentArns * The ARNs of the DataSync agents that can connect with your Azure Blob Storage container. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeLocationAzureBlobResult withAgentArns(java.util.Collection agentArns) { setAgentArns(agentArns); return this; } /** *

* The time that your Azure Blob Storage transfer location was created. *

* * @param creationTime * The time that your Azure Blob Storage transfer location was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* The time that your Azure Blob Storage transfer location was created. *

* * @return The time that your Azure Blob Storage transfer location was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* The time that your Azure Blob Storage transfer location was created. *

* * @param creationTime * The time that your Azure Blob Storage transfer location was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeLocationAzureBlobResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getLocationArn() != null) sb.append("LocationArn: ").append(getLocationArn()).append(","); if (getLocationUri() != null) sb.append("LocationUri: ").append(getLocationUri()).append(","); if (getAuthenticationType() != null) sb.append("AuthenticationType: ").append(getAuthenticationType()).append(","); if (getBlobType() != null) sb.append("BlobType: ").append(getBlobType()).append(","); if (getAccessTier() != null) sb.append("AccessTier: ").append(getAccessTier()).append(","); if (getAgentArns() != null) sb.append("AgentArns: ").append(getAgentArns()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeLocationAzureBlobResult == false) return false; DescribeLocationAzureBlobResult other = (DescribeLocationAzureBlobResult) obj; if (other.getLocationArn() == null ^ this.getLocationArn() == null) return false; if (other.getLocationArn() != null && other.getLocationArn().equals(this.getLocationArn()) == false) return false; if (other.getLocationUri() == null ^ this.getLocationUri() == null) return false; if (other.getLocationUri() != null && other.getLocationUri().equals(this.getLocationUri()) == false) return false; if (other.getAuthenticationType() == null ^ this.getAuthenticationType() == null) return false; if (other.getAuthenticationType() != null && other.getAuthenticationType().equals(this.getAuthenticationType()) == false) return false; if (other.getBlobType() == null ^ this.getBlobType() == null) return false; if (other.getBlobType() != null && other.getBlobType().equals(this.getBlobType()) == false) return false; if (other.getAccessTier() == null ^ this.getAccessTier() == null) return false; if (other.getAccessTier() != null && other.getAccessTier().equals(this.getAccessTier()) == false) return false; if (other.getAgentArns() == null ^ this.getAgentArns() == null) return false; if (other.getAgentArns() != null && other.getAgentArns().equals(this.getAgentArns()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getLocationArn() == null) ? 0 : getLocationArn().hashCode()); hashCode = prime * hashCode + ((getLocationUri() == null) ? 0 : getLocationUri().hashCode()); hashCode = prime * hashCode + ((getAuthenticationType() == null) ? 0 : getAuthenticationType().hashCode()); hashCode = prime * hashCode + ((getBlobType() == null) ? 0 : getBlobType().hashCode()); hashCode = prime * hashCode + ((getAccessTier() == null) ? 0 : getAccessTier().hashCode()); hashCode = prime * hashCode + ((getAgentArns() == null) ? 0 : getAgentArns().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); return hashCode; } @Override public DescribeLocationAzureBlobResult clone() { try { return (DescribeLocationAzureBlobResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy