Data.Cloud.AmazonAPI.TAmazonConnectionInfo.VirtualHost
Delphi
function VirtualHost(const BucketName: string = ''): string;
C++
System::UnicodeString __fastcall VirtualHost(const System::UnicodeString BucketName = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonConnectionInfo |
Description
The virtual hostname.
The optional BucketName
parameter allows you to prefix the hostname with the name of your bucket.
For example, if you sppecify the name of your bucket as myBucket-78423
, this method returns:
myBucket-78423.<StorageEndpoint>
where <StorageEndpoint> is the StorageEndpoint property.
If you do not specify BucketName
, this method returns StorageEndpoint..