BlobItem Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobItem
- com.
public final class BlobItem
An Azure Storage blob.
Constructor Summary
Constructor | Description |
---|---|
BlobItem() |
Constructs a new instance of BlobItem. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getMetadata()
Get the metadata property: The metadata property. |
String |
getName()
Get the name property: The name property. |
List<Object |
getObjectReplicationSourcePolicies()
Get the object |
Blob |
getProperties()
Get the properties property: The properties property. |
String |
getSnapshot()
Get the snapshot property: The snapshot property. |
Map<String,String> |
getTags()
Get the tags property: The tags property. |
String |
getVersionId()
Get the version |
Boolean |
hasVersionsOnly()
Get the has |
Boolean |
isCurrentVersion()
Get the is |
boolean |
isDeleted()
Get the deleted property: The deleted property. |
Boolean |
isPrefix()
Get the is |
Blob |
setCurrentVersion(Boolean isCurrentVersion)
Set the is |
Blob |
setDeleted(boolean deleted)
Set the deleted property: The deleted property. |
Blob |
setHasVersionsOnly(Boolean hasVersionsOnly)
Set the has |
Blob |
setIsPrefix(Boolean isPrefix)
Set the is |
Blob |
setMetadata(Map<String,String> metadata)
Set the metadata property: The metadata property. |
Blob |
setName(String name)
Set the name property: The name property. |
Blob |
setObjectReplicationSourcePolicies(List<ObjectReplicationPolicy> objectReplicationSourcePolicies)
Set the object |
Blob |
setProperties(BlobItemProperties properties)
Set the properties property: The properties property. |
Blob |
setSnapshot(String snapshot)
Set the snapshot property: The snapshot property. |
Blob |
setTags(Map<String,String> tags)
Set the tags property: The tags property. |
Blob |
setVersionId(String versionId)
Set the version |
Methods inherited from java.lang.Object
Constructor Details
BlobItem
public BlobItem()
Constructs a new instance of BlobItem.
Method Details
getMetadata
public Map
Get the metadata property: The metadata property.
Returns:
getName
public String getName()
Get the name property: The name property.
Returns:
getObjectReplicationSourcePolicies
public List
Get the objectReplicationSourcePolicies property: The objectReplicationSourcePolicies property.
Returns:
getProperties
public BlobItemProperties getProperties()
Get the properties property: The properties property.
Returns:
getSnapshot
public String getSnapshot()
Get the snapshot property: The snapshot property.
Returns:
getTags
public Map
Get the tags property: The tags property.
Returns:
getVersionId
public String getVersionId()
Get the versionId property: The versionId property.
Returns:
hasVersionsOnly
public Boolean hasVersionsOnly()
Get the hasVersionsOnly property: The HasVersionsOnly property.
Returns:
isCurrentVersion
public Boolean isCurrentVersion()
Get the isCurrentVersion property: The isCurrentVersion property.
Returns:
isDeleted
public boolean isDeleted()
Get the deleted property: The deleted property.
Returns:
isPrefix
public Boolean isPrefix()
Get the isPrefix property: If blobs are named to mimic a directory hierarchy (i.e. path elements separated by a delimiter), this property may be used to determine if the BlobItem
is a virtual directory.
Returns:
setCurrentVersion
public BlobItem setCurrentVersion(Boolean isCurrentVersion)
Set the isCurrentVersion property: The isCurrentVersion property.
Parameters:
Returns:
setDeleted
public BlobItem setDeleted(boolean deleted)
Set the deleted property: The deleted property.
Parameters:
Returns:
setHasVersionsOnly
public BlobItem setHasVersionsOnly(Boolean hasVersionsOnly)
Set the hasVersionsOnly property: The HasVersionsOnly property.
Parameters:
Returns:
setIsPrefix
public BlobItem setIsPrefix(Boolean isPrefix)
Set the isPrefix property: The isPrefix property.
Parameters:
Returns:
setMetadata
public BlobItem setMetadata(Map
Set the metadata property: The metadata property.
Parameters:
Returns:
setName
public BlobItem setName(String name)
Set the name property: The name property.
Parameters:
Returns:
setObjectReplicationSourcePolicies
public BlobItem setObjectReplicationSourcePolicies(List
Set the objectReplicationSourcePolicies property: The objectReplicationSourcePolicies property.
Parameters:
Returns:
setProperties
public BlobItem setProperties(BlobItemProperties properties)
Set the properties property: The properties property.
Parameters:
Returns:
setSnapshot
public BlobItem setSnapshot(String snapshot)
Set the snapshot property: The snapshot property.
Parameters:
Returns:
setTags
public BlobItem setTags(Map
Set the tags property: The tags property.
Parameters:
Returns:
setVersionId
public BlobItem setVersionId(String versionId)
Set the versionId property: The versionId property.
Parameters:
Returns:
Applies to
Azure SDK for Java