Class RestoredLogs
java.lang.Object
com.azure.resourcemanager.loganalytics.models.RestoredLogs
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RestoredLogs>
public final class RestoredLogs
extends Object
implements com.azure.json.JsonSerializable<RestoredLogs>
Restore parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the azureAsyncOperationId property: Search results table async operation id.Get the endRestoreTime property: The timestamp to end the restore by (UTC).static RestoredLogsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RestoredLogs from the JsonReader.Get the sourceTable property: The table to restore data from.Get the startRestoreTime property: The timestamp to start the restore from (UTC).com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withEndRestoreTime(OffsetDateTime endRestoreTime) Set the endRestoreTime property: The timestamp to end the restore by (UTC).withSourceTable(String sourceTable) Set the sourceTable property: The table to restore data from.withStartRestoreTime(OffsetDateTime startRestoreTime) Set the startRestoreTime property: The timestamp to start the restore from (UTC).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RestoredLogs
public RestoredLogs()Creates an instance of RestoredLogs class.
-
-
Method Details
-
startRestoreTime
Get the startRestoreTime property: The timestamp to start the restore from (UTC).- Returns:
- the startRestoreTime value.
-
withStartRestoreTime
Set the startRestoreTime property: The timestamp to start the restore from (UTC).- Parameters:
startRestoreTime- the startRestoreTime value to set.- Returns:
- the RestoredLogs object itself.
-
endRestoreTime
Get the endRestoreTime property: The timestamp to end the restore by (UTC).- Returns:
- the endRestoreTime value.
-
withEndRestoreTime
Set the endRestoreTime property: The timestamp to end the restore by (UTC).- Parameters:
endRestoreTime- the endRestoreTime value to set.- Returns:
- the RestoredLogs object itself.
-
sourceTable
Get the sourceTable property: The table to restore data from.- Returns:
- the sourceTable value.
-
withSourceTable
Set the sourceTable property: The table to restore data from.- Parameters:
sourceTable- the sourceTable value to set.- Returns:
- the RestoredLogs object itself.
-
azureAsyncOperationId
Get the azureAsyncOperationId property: Search results table async operation id.- Returns:
- the azureAsyncOperationId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RestoredLogs>- Throws:
IOException
-
fromJson
Reads an instance of RestoredLogs from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RestoredLogs 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 RestoredLogs.
-