public class StorageAccountImpl extends Object implements StorageAccount
StorageAccount.OPTS
Constructor and Description |
---|
StorageAccountImpl(String id,
String username,
String password,
StorageProviderType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getId() |
Map<String,String> |
getOptions() |
String |
getOwnerId() |
String |
getPassword() |
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(StorageProviderType type) |
void |
setUsername(String username) |
String |
toString() |
public StorageAccountImpl(String id, String username, String password, StorageProviderType type)
public String getId()
getId
in interface StorageAccount
public void setId(String id)
setId
in interface StorageAccount
id
- the id to setpublic String getOwnerId()
getOwnerId
in interface StorageAccount
public void setOwnerId(String ownerId)
setOwnerId
in interface StorageAccount
public String getUsername()
getUsername
in interface StorageAccount
public void setUsername(String username)
setUsername
in interface StorageAccount
username
- the username to setpublic String getPassword()
getPassword
in interface StorageAccount
public void setPassword(String password)
setPassword
in interface StorageAccount
password
- the password to setpublic StorageProviderType getType()
getType
in interface StorageAccount
public void setType(StorageProviderType type)
setType
in interface StorageAccount
type
- the type to setpublic boolean isPrimary()
isPrimary
in interface StorageAccount
public void setPrimary(boolean primary)
setPrimary
in interface StorageAccount
public Map<String,String> getOptions()
getOptions
in interface StorageAccount
public void setOption(String key, String value)
setOption
in interface StorageAccount
Copyright © 2009–2014 DuraSpace. All rights reserved.