Package com.azure.storage.blob.options
Class BlobContainerCreateOptions
java.lang.Object
com.azure.storage.blob.options.BlobContainerCreateOptions
Extended options that may be passed when creating a Blob Container.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the metadata to associate with the blob.Gets the public access type associated with the blob.setMetadata
(Map<String, String> metadata) Sets the metadata to associate with the blob.setPublicAccessType
(PublicAccessType accessType) Sets the public access type to associate with the blob.
-
Constructor Details
-
BlobContainerCreateOptions
public BlobContainerCreateOptions()Creates a new instance ofBlobContainerCreateOptions
.
-
-
Method Details
-
getMetadata
Gets the metadata to associate with the blob.- Returns:
- The metadata to associate with the blob.
-
setMetadata
Sets the metadata to associate with the blob.- Parameters:
metadata
- The metadata to associate with the blob.- Returns:
- The updated options
-
getPublicAccessType
Gets the public access type associated with the blob.- Returns:
- The public access type associated with the blob.
-
setPublicAccessType
Sets the public access type to associate with the blob.- Parameters:
accessType
- The public access type to associate with the blob.- Returns:
- The updated options.
-