public static class ListBlobsResult.BlobEntry extends ListBlobsResult.ListBlobsEntry
BlobEntry includes committed blobs, and can optionally
include blob metadata, blob snapshots, and uncommitted blobs, depending
on the request options set.| Constructor and Description |
|---|
BlobEntry() |
| Modifier and Type | Method and Description |
|---|---|
HashMap<String,String> |
getMetadata()
Gets the blob's metadata collection set in the
Metadata element in the Blob
element in the Blobs list in the response.
|
String |
getName()
Gets the value of the Name element within a
Blob element returned in the response.
|
BlobProperties |
getProperties()
Gets a
BlobProperties instance with the blob properties
returned in the response. |
String |
getSnapshot()
Gets the snapshot timestamp value for a blob snapshot returned in the
response.
|
String |
getUrl()
Gets the value of the Url element within a
Blob element returned in the response.
|
void |
setMetadata(HashMap<String,String> metadata)
Reserved for internal use.
|
void |
setName(String name)
Reserved for internal use.
|
void |
setProperties(BlobProperties properties)
Reserved for internal use.
|
void |
setSnapshot(String snapshot)
Reserved for internal use.
|
void |
setUrl(String url)
Reserved for internal use.
|
public String getName()
String containing the complete blob name.public void setName(String name)
This method is invoked by the API to set the value from the Blob Service REST API operation response returned by the server.
name - A String containing the value of the
Name element within a
Blob element.public String getUrl()
String containing the complete URI address of the
blob.public void setUrl(String url)
This method is invoked by the API to set the value from the Blob Service REST API operation response returned by the server.
url - A String containing the complete URI address of
the blob.public BlobProperties getProperties()
BlobProperties instance with the blob properties
returned in the response.BlobProperties instance with the blob properties
returned in the response.public void setProperties(BlobProperties properties)
This method is invoked by the API to set the value from the Blob Service REST API operation response returned by the server.
properties - A BlobProperties instance with the blob properties
returned in the response.public String getSnapshot()
String containing the snapshot timestamp of the
blob snapshot.public void setSnapshot(String snapshot)
This method is invoked by the API to set the value from the Blob Service REST API operation response returned by the server.
snapshot - A String containing the snapshot timestamp of the
blob snapshot.public HashMap<String,String> getMetadata()
public void setMetadata(HashMap<String,String> metadata)
This method is invoked by the API to set the value from the Blob Service REST API operation response returned by the server.
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/