你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NativeBlobSoftDeleteDeletionDetectionPolicy Class

public final class NativeBlobSoftDeleteDeletionDetectionPolicy
extends DataDeletionDetectionPolicy

Defines a data deletion detection policy utilizing Azure Blob Storage's native soft delete feature for deletion detection.

Constructor Summary

Constructor Description
NativeBlobSoftDeleteDeletionDetectionPolicy()

Creates an instance of NativeBlobSoftDeleteDeletionDetectionPolicy class.

Method Summary

Modifier and Type Method and Description
static NativeBlobSoftDeleteDeletionDetectionPolicy fromJson(JsonReader jsonReader)

Reads an instance of NativeBlobSoftDeleteDeletionDetectionPolicy from the JsonReader.

String getOdataType()

Get the odataType property: The discriminator for derived types.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from DataDeletionDetectionPolicy

Methods inherited from java.lang.Object

Constructor Details

NativeBlobSoftDeleteDeletionDetectionPolicy

public NativeBlobSoftDeleteDeletionDetectionPolicy()

Creates an instance of NativeBlobSoftDeleteDeletionDetectionPolicy class.

Method Details

fromJson

public static NativeBlobSoftDeleteDeletionDetectionPolicy fromJson(JsonReader jsonReader)

Reads an instance of NativeBlobSoftDeleteDeletionDetectionPolicy from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NativeBlobSoftDeleteDeletionDetectionPolicy if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the NativeBlobSoftDeleteDeletionDetectionPolicy.

getOdataType

public String getOdataType()

Get the odataType property: The discriminator for derived types.

Overrides:

NativeBlobSoftDeleteDeletionDetectionPolicy.getOdataType()

Returns:

the odataType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NativeBlobSoftDeleteDeletionDetectionPolicy.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to