Class StorageClientInstance
- java.lang.Object
-
- org.gcube.datatransfer.resolver.storage.StorageClientInstance
-
public class StorageClientInstance extends Object
The Class StorageClientInstance.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Apr 2, 2019
-
-
Constructor Summary
Constructors Constructor Description StorageClientInstance()Instantiates a new storage client instance.StorageClientInstance(org.gcube.contentmanager.storageclient.wrapper.StorageClient storageClient, org.gcube.contentmanager.storageclient.wrapper.MemoryType memory, String storageId)Instantiates a new storage client instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gcube.contentmanager.storageclient.wrapper.MemoryTypegetMemory()Gets the memory.org.gcube.contentmanager.storageclient.wrapper.StorageClientgetStorageClient()Gets the storage client.StringgetStorageId()Gets the storage id.voidsetMemory(org.gcube.contentmanager.storageclient.wrapper.MemoryType memory)Sets the memory.voidsetStorageClient(org.gcube.contentmanager.storageclient.wrapper.StorageClient storageClient)Sets the storage client.voidsetStorageId(String storageId)Sets the storage id.StringtoString()
-
-
-
Constructor Detail
-
StorageClientInstance
public StorageClientInstance()
Instantiates a new storage client instance.
-
StorageClientInstance
public StorageClientInstance(org.gcube.contentmanager.storageclient.wrapper.StorageClient storageClient, org.gcube.contentmanager.storageclient.wrapper.MemoryType memory, String storageId)Instantiates a new storage client instance.- Parameters:
storageClient- the storage clientmemory- the memorystorageId- the storage id
-
-
Method Detail
-
getStorageClient
public org.gcube.contentmanager.storageclient.wrapper.StorageClient getStorageClient()
Gets the storage client.- Returns:
- the storage client
-
setStorageClient
public void setStorageClient(org.gcube.contentmanager.storageclient.wrapper.StorageClient storageClient)
Sets the storage client.- Parameters:
storageClient- the new storage client
-
getMemory
public org.gcube.contentmanager.storageclient.wrapper.MemoryType getMemory()
Gets the memory.- Returns:
- the memory
-
setMemory
public void setMemory(org.gcube.contentmanager.storageclient.wrapper.MemoryType memory)
Sets the memory.- Parameters:
memory- the new memory
-
getStorageId
public String getStorageId()
Gets the storage id.- Returns:
- the storage id
-
setStorageId
public void setStorageId(String storageId)
Sets the storage id.- Parameters:
storageId- the new storage id
-
-