次の方法で共有


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()

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.

PublicAccessType getPublicAccessType()

Gets the public access type associated with the blob.

BlobContainerCreateOptions setMetadata(Map<String,String> metadata)

Sets the metadata to associate with the blob.

BlobContainerCreateOptions 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 getMetadata()

Gets the metadata to associate with the blob.

Returns:

The metadata to associate with the blob.

getPublicAccessType

public PublicAccessType getPublicAccessType()

Gets the public access type associated with the blob.

Returns:

The public access type associated with the blob.

setMetadata

public BlobContainerCreateOptions setMetadata(Map metadata)

Sets the metadata to associate with the blob.

Parameters:

metadata - The metadata to associate with the blob.

Returns:

The updated options

setPublicAccessType

public BlobContainerCreateOptions setPublicAccessType(PublicAccessType accessType)

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.

Applies to