Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.batch; import org.joda.time.DateTime; import com.fasterxml.jackson.annotation.JsonProperty;
Contains information about the auto-storage account associated with a Batch account.
/** * Contains information about the auto-storage account associated with a Batch * account. */
public class AutoStorageProperties extends AutoStorageBaseProperties {
The UTC time at which storage keys were last synchronized with the Batch account.
/** * The UTC time at which storage keys were last synchronized with the Batch * account. */
@JsonProperty(value = "lastKeySync", required = true) private DateTime lastKeySync;
Get the UTC time at which storage keys were last synchronized with the Batch account.
Returns:the lastKeySync value
/** * Get the UTC time at which storage keys were last synchronized with the Batch account. * * @return the lastKeySync value */
public DateTime lastKeySync() { return this.lastKeySync; }
Set the UTC time at which storage keys were last synchronized with the Batch account.
Params:
  • lastKeySync – the lastKeySync value to set
Returns:the AutoStorageProperties object itself.
/** * Set the UTC time at which storage keys were last synchronized with the Batch account. * * @param lastKeySync the lastKeySync value to set * @return the AutoStorageProperties object itself. */
public AutoStorageProperties withLastKeySync(DateTime lastKeySync) { this.lastKeySync = lastKeySync; return this; } }