|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.soyatec.windowsazure.authenticate.StorageAccountInfo
public class StorageAccountInfo
Objects of this class encapsulate information about a storage account and endpoint configuration associated with a storage account is the account name, the base URI of the account and a shared key.
| Field Summary | |
|---|---|
static java.lang.String |
DEVSTORE_ACCOUNT
The name of the storage account |
static java.lang.String |
DEVSTORE_KEY
Authentication key used for signing requests |
| Constructor Summary | |
|---|---|
StorageAccountInfo(java.net.URI baseUri,
boolean usePathStyleUris,
java.lang.String accountName,
java.lang.String base64Key)
Constructor for creating account info objects. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAccountName()
|
java.lang.String |
getBase64Key()
|
java.net.URI |
getBaseUri()
|
boolean |
isUsePathStyleUris()
|
void |
setAccountName(java.lang.String accountName)
Set the account name. |
void |
setBase64Key(java.lang.String base64Key)
Set the account's shared key. |
void |
setBaseUri(java.net.URI baseUri)
Set the account's base URI. |
void |
setUsePathStyleUris(boolean usePathStyleUris)
Set usePathStyleUris. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEVSTORE_ACCOUNT
public static final java.lang.String DEVSTORE_KEY
| Constructor Detail |
|---|
public StorageAccountInfo(java.net.URI baseUri,
boolean usePathStyleUris,
java.lang.String accountName,
java.lang.String base64Key)
baseUri - The account's base URI.usePathStyleUris - If true, path-style URIs
(http://baseuri/accountname/containername/objectname) are
used,If false host-style URIs
(http://accountname.baseuri/containername/objectname) are
used, where baseuri is the URI of the service..accountName - The account name.base64Key - The account's shared key.| Method Detail |
|---|
public boolean isUsePathStyleUris()
public java.net.URI getBaseUri()
public java.lang.String getAccountName()
public java.lang.String getBase64Key()
public void setUsePathStyleUris(boolean usePathStyleUris)
usePathStyleUris - If true, path-style URIs
(http://baseuri/accountname/containername/objectname) are
used,If false host-style URIs
(http://accountname.baseuri/containername/objectname) are
used, where baseuri is the URI of the service..public void setBaseUri(java.net.URI baseUri)
baseUri - public void setAccountName(java.lang.String accountName)
accountName - public void setBase64Key(java.lang.String base64Key)
base64Key -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||