Class BlobItem
java.lang.Object
com.azure.storage.blob.models.BlobItem
An Azure Storage blob.
-
Constructor Summary
Constructors -
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.booleanGet the deleted property: The deleted property.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 theBlobItemis a virtual directory.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
-
setName
-
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
-
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
-
setMetadata
-
getTags
-
setTags
-
getVersionId
Get the versionId property: The versionId property.- Returns:
- the versionId value.
-
setVersionId
-
isCurrentVersion
Get the isCurrentVersion property: The isCurrentVersion property.- Returns:
- the isCurrentVersion value.
-
setCurrentVersion
-
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
-
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 theBlobItemis a virtual directory.- Returns:
- the isPrefix value.
-
setIsPrefix
-