ProtectedAppendWritesHistory Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ProtectedAppendWritesHistory
- com.
Implements
public final class ProtectedAppendWritesHistory
implements JsonSerializable<ProtectedAppendWritesHistory>
Protected append writes history setting for the blob container with Legal holds.
Constructor Summary
Constructor | Description |
---|---|
ProtectedAppendWritesHistory() |
Creates an instance of Protected |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowProtectedAppendWritesAll()
Get the allow |
static
Protected |
fromJson(JsonReader jsonReader)
Reads an instance of Protected |
Offset |
timestamp()
Get the timestamp property: Returns the date and time the tag was added. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Protected |
withAllowProtectedAppendWritesAll(Boolean allowProtectedAppendWritesAll)
Set the allow |
Methods inherited from java.lang.Object
Constructor Details
ProtectedAppendWritesHistory
public ProtectedAppendWritesHistory()
Creates an instance of ProtectedAppendWritesHistory class.
Method Details
allowProtectedAppendWritesAll
public Boolean allowProtectedAppendWritesAll()
Get the allowProtectedAppendWritesAll property: When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
Returns:
fromJson
public static ProtectedAppendWritesHistory fromJson(JsonReader jsonReader)
Reads an instance of ProtectedAppendWritesHistory from the JsonReader.
Parameters:
Returns:
Throws:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: Returns the date and time the tag was added.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAllowProtectedAppendWritesAll
public ProtectedAppendWritesHistory withAllowProtectedAppendWritesAll(Boolean allowProtectedAppendWritesAll)
Set the allowProtectedAppendWritesAll property: When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
Parameters:
Returns:
Applies to
Azure SDK for Java