BlockBlobSeekableByteChannelWriteOptions.WriteMode Class

public static final class BlockBlobSeekableByteChannelWriteOptions.WriteMode
extends ExpandableStringEnum<WriteMode>

Mode to open the channel for writing.

Field Summary

Modifier and Type Field and Description
static final WriteMode OVERWRITE

Replaces the existing block blob, if any, with the newly written contents.

Constructor Summary

Constructor Description
WriteMode()

Deprecated

Creates a new instance of BlockBlobSeekableByteChannelWriteOptions.WriteMode with no string value.

Method Summary

Modifier and Type Method and Description
static WriteMode fromString(String name)

Creates or finds a AccessTier from its string representation.

static Collection<WriteMode> values()

Gets known WriteMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

OVERWRITE

public static final BlockBlobSeekableByteChannelWriteOptions.WriteMode OVERWRITE

Replaces the existing block blob, if any, with the newly written contents. Creates a new blob if none exists.

Constructor Details

WriteMode

@Deprecated
public WriteMode()

Deprecated

Creates a new instance of BlockBlobSeekableByteChannelWriteOptions.WriteMode with no string value.

Method Details

fromString

public static BlockBlobSeekableByteChannelWriteOptions.WriteMode fromString(String name)

Creates or finds a AccessTier from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AccessTier.

values

public static Collection<BlockBlobSeekableByteChannelWriteOptions.WriteMode> values()

Gets known WriteMode values.

Returns:

known WriteMode values.

Applies to