| Constructor and Description |
|---|
AccessBasic() |
| Modifier and Type | Method and Description |
|---|---|
String |
getInternalURL()
The internal URL to access resources with.
|
String |
getPublicURL()
The public URL of a resource.
|
String |
getTempUrlPrefix(TempUrlHashPrefixSource tempUrlHashPrefixSource)
Returns the first part of the object path in a TempURL.
|
String |
getToken()
The security token to pass to all secure ObjectStore calls.
|
boolean |
isTenantSupplied()
Ascertains whether tenant ID and/or name were supplied.
|
void |
setPreferredRegion(String preferredRegion)
The ObjectStore holds multiple regions.
|
void |
setToken(String token) |
void |
setUrl(String url) |
public void setUrl(String url)
public void setToken(String token)
public void setPreferredRegion(String preferredRegion)
AccesssetPreferredRegion in interface AccesspreferredRegion - the region where you want to access the resourcespublic String getToken()
Accesspublic String getInternalURL()
AccessgetInternalURL in interface Accesspublic String getPublicURL()
AccessgetPublicURL in interface Accesspublic boolean isTenantSupplied()
AccessisTenantSupplied in interface Accesspublic String getTempUrlPrefix(TempUrlHashPrefixSource tempUrlHashPrefixSource)
AccessgetTempUrlPrefix in interface AccesstempUrlHashPrefixSource - the source URL to server as the basis for the prefixCopyright © 2012-2016 42 BV. All Rights Reserved.