BlobContainerCreateOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobContainerCreateOptions
- com.
public class BlobContainerCreateOptions
Extended options that may be passed when creating a Blob Container.
Constructor Summary
Constructor | Description |
---|---|
BlobContainerCreateOptions() |
Creates a new instance of BlobContainerCreateOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getMetadata()
Gets the metadata to associate with the blob. |
Public |
getPublicAccessType()
Gets the public access type associated with the blob. |
Blob |
setMetadata(Map<String,String> metadata)
Sets the metadata to associate with the blob. |
Blob |
setPublicAccessType(PublicAccessType accessType)
Sets the public access type to associate with the blob. |
Methods inherited from java.lang.Object
Constructor Details
BlobContainerCreateOptions
public BlobContainerCreateOptions()
Creates a new instance of BlobContainerCreateOptions.
Method Details
getMetadata
public Map
Gets the metadata to associate with the blob.
Returns:
getPublicAccessType
public PublicAccessType getPublicAccessType()
Gets the public access type associated with the blob.
Returns:
setMetadata
public BlobContainerCreateOptions setMetadata(Map
Sets the metadata to associate with the blob.
Parameters:
Returns:
setPublicAccessType
public BlobContainerCreateOptions setPublicAccessType(PublicAccessType accessType)
Sets the public access type to associate with the blob.
Parameters:
Returns: