AutoStorageProperties Class

public final class AutoStorageProperties
extends AutoStorageBaseProperties

Contains information about the auto-storage account associated with a Batch account.

Method Summary

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

Reads an instance of AutoStorageProperties from the JsonReader.

OffsetDateTime lastKeySync()

Get the lastKeySync property: The UTC time at which storage keys were last synchronized with the Batch account.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from AutoStorageBaseProperties

Methods inherited from java.lang.Object

Method Details

fromJson

public static AutoStorageProperties fromJson(JsonReader jsonReader)

Reads an instance of AutoStorageProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

lastKeySync

public OffsetDateTime lastKeySync()

Get the lastKeySync property: The UTC time at which storage keys were last synchronized with the Batch account.

Returns:

the lastKeySync value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AutoStorageProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

AutoStorageProperties.validate()

Applies to