Sdílet prostřednictvím


BlobContainerCreateOptions Class

  • java.lang.Object
    • com.azure.storage.blob.options.BlobContainerCreateOptions

public class BlobContainerCreateOptions

Extended options that may be passed when creating a Blob Container.

Constructor Summary

Constructor Description
BlobContainerCreateOptions()

Method Summary

Modifier and Type Method and Description
Map<String,String> getMetadata()
PublicAccessType getPublicAccessType()
BlobContainerCreateOptions setMetadata(Map<String,String> metadata)
BlobContainerCreateOptions setPublicAccessType(PublicAccessType accessType)

Methods inherited from java.lang.Object

Constructor Details

BlobContainerCreateOptions

public BlobContainerCreateOptions()

Method Details

getMetadata

public Map getMetadata()

Returns:

The metadata to associate with the blob.

getPublicAccessType

public PublicAccessType getPublicAccessType()

Returns:

The public access type associated with the blob.

setMetadata

public BlobContainerCreateOptions setMetadata(Map metadata)

Parameters:

metadata - The metadata to associate with the blob.

Returns:

The updated options

setPublicAccessType

public BlobContainerCreateOptions setPublicAccessType(PublicAccessType accessType)

Parameters:

accessType - The public access type to associate with the blob.

Returns:

The updated options.

Applies to