public class StorageAccountImpl extends Object implements StorageAccount
StorageAccount.OPTS| Constructor and Description |
|---|
StorageAccountImpl(String id,
String username,
String password,
org.duracloud.storage.domain.StorageProviderType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId() |
Map<String,String> |
getOptions() |
String |
getOwnerId() |
String |
getPassword() |
org.duracloud.storage.domain.StorageProviderType |
getType() |
String |
getUsername() |
int |
hashCode() |
boolean |
isPrimary() |
void |
setId(String id) |
void |
setOption(String key,
String value) |
void |
setOwnerId(String ownerId) |
void |
setPassword(String password) |
void |
setPrimary(boolean primary) |
void |
setType(org.duracloud.storage.domain.StorageProviderType type) |
void |
setUsername(String username) |
String |
toString() |
public String getId()
getId in interface StorageAccountpublic void setId(String id)
setId in interface StorageAccountid - the id to setpublic String getOwnerId()
getOwnerId in interface StorageAccountpublic void setOwnerId(String ownerId)
setOwnerId in interface StorageAccountpublic String getUsername()
getUsername in interface StorageAccountpublic void setUsername(String username)
setUsername in interface StorageAccountusername - the username to setpublic String getPassword()
getPassword in interface StorageAccountpublic void setPassword(String password)
setPassword in interface StorageAccountpassword - the password to setpublic org.duracloud.storage.domain.StorageProviderType getType()
getType in interface StorageAccountpublic void setType(org.duracloud.storage.domain.StorageProviderType type)
setType in interface StorageAccounttype - the type to setpublic boolean isPrimary()
isPrimary in interface StorageAccountpublic void setPrimary(boolean primary)
setPrimary in interface StorageAccountpublic Map<String,String> getOptions()
getOptions in interface StorageAccountpublic void setOption(String key, String value)
setOption in interface StorageAccountCopyright © 2009–2017 DuraSpace. All rights reserved.