Package com.azure.storage.blob.models
Class BlobItem
java.lang.Object
com.azure.storage.blob.models.BlobItem
An Azure Storage blob.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the metadata property: The metadata property.getName()
Get the name property: The name property.Get the objectReplicationSourcePolicies property: The objectReplicationSourcePolicies property.Get the properties property: The properties property.Get the snapshot property: The snapshot property.getTags()
Get the tags property: The tags property.Get the versionId property: The versionId property.Get the hasVersionsOnly property: The HasVersionsOnly property.Get the isCurrentVersion property: The isCurrentVersion property.boolean
Get the deleted property: The deleted property.isPrefix()
Get the isPrefix property: If blobs are named to mimic a directory hierarchy (i.e.setCurrentVersion
(Boolean isCurrentVersion) Set the isCurrentVersion property: The isCurrentVersion property.setDeleted
(boolean deleted) Set the deleted property: The deleted property.setHasVersionsOnly
(Boolean hasVersionsOnly) Set the hasVersionsOnly property: The HasVersionsOnly property.setIsPrefix
(Boolean isPrefix) Set the isPrefix property: The isPrefix property.setMetadata
(Map<String, String> metadata) Set the metadata property: The metadata property.Set the name property: The name property.setObjectReplicationSourcePolicies
(List<ObjectReplicationPolicy> objectReplicationSourcePolicies) Set the objectReplicationSourcePolicies property: The objectReplicationSourcePolicies property.setProperties
(BlobItemProperties properties) Set the properties property: The properties property.setSnapshot
(String snapshot) Set the snapshot property: The snapshot property.Set the tags property: The tags property.setVersionId
(String versionId) Set the versionId property: The versionId property.
-
Constructor Details
-
BlobItem
public BlobItem()Constructs a new instance ofBlobItem
.
-
-
Method Details
-
getName
Get the name property: The name property.- Returns:
- the name value.
-
setName
Set the name property: The name property.- Parameters:
name
- the name value to set.- Returns:
- the BlobItem object itself.
-
isDeleted
public boolean isDeleted()Get the deleted property: The deleted property.- Returns:
- the deleted value.
-
setDeleted
Set the deleted property: The deleted property.- Parameters:
deleted
- the deleted value to set.- Returns:
- the BlobItem object itself.
-
getSnapshot
Get the snapshot property: The snapshot property.- Returns:
- the snapshot value.
-
setSnapshot
Set the snapshot property: The snapshot property.- Parameters:
snapshot
- the snapshot value to set.- Returns:
- the BlobItem object itself.
-
getProperties
Get the properties property: The properties property.- Returns:
- the properties value.
-
setProperties
Set the properties property: The properties property.- Parameters:
properties
- the properties value to set.- Returns:
- the BlobItem object itself.
-
getMetadata
Get the metadata property: The metadata property.- Returns:
- the metadata value.
-
setMetadata
Set the metadata property: The metadata property.- Parameters:
metadata
- the metadata value to set.- Returns:
- the BlobItem object itself.
-
getTags
Get the tags property: The tags property.- Returns:
- the metadata value.
-
setTags
Set the tags property: The tags property.- Parameters:
tags
- the tags value to set.- Returns:
- the BlobItem object itself.
-
getVersionId
Get the versionId property: The versionId property.- Returns:
- the versionId value.
-
setVersionId
Set the versionId property: The versionId property.- Parameters:
versionId
- the versionId value to set.- Returns:
- the BlobItem object itself.
-
isCurrentVersion
Get the isCurrentVersion property: The isCurrentVersion property.- Returns:
- the isCurrentVersion value.
-
setCurrentVersion
Set the isCurrentVersion property: The isCurrentVersion property.- Parameters:
isCurrentVersion
- the isCurrentVersion value to set.- Returns:
- the BlobItem object itself.
-
getObjectReplicationSourcePolicies
Get the objectReplicationSourcePolicies property: The objectReplicationSourcePolicies property.- Returns:
- the objectReplicationSourcePolicies value.
-
setObjectReplicationSourcePolicies
public BlobItem setObjectReplicationSourcePolicies(List<ObjectReplicationPolicy> objectReplicationSourcePolicies) Set the objectReplicationSourcePolicies property: The objectReplicationSourcePolicies property.- Parameters:
objectReplicationSourcePolicies
- the objectReplicationSourcePolicies value to set.- Returns:
- the BlobItem object itself.
-
hasVersionsOnly
Get the hasVersionsOnly property: The HasVersionsOnly property.- Returns:
- the hasVersionsOnly value.
-
setHasVersionsOnly
Set the hasVersionsOnly property: The HasVersionsOnly property.- Parameters:
hasVersionsOnly
- the hasVersionsOnly value to set.- Returns:
- the BlobItemInternal object itself.
-
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 theBlobItem
is a virtual directory.- Returns:
- the isPrefix value.
-
setIsPrefix
Set the isPrefix property: The isPrefix property.- Parameters:
isPrefix
- the isPrefix value to set.- Returns:
- the BlobItem object itself.
-