com.microsoft.azure.management.batch.AutoStorageProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-batch Show documentation
Show all versions of azure-mgmt-batch Show documentation
This package contains Microsoft Azure Batch Account Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-batch is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* 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.
*/
public class AutoStorageProperties {
/**
* The resource id of the storage account to be used for auto storage
* account.
*/
@JsonProperty(required = true)
private String storageAccountId;
/**
* The UTC time at which storage keys were last synchronized with the
* Batch account.
*/
@JsonProperty(required = true)
private DateTime lastKeySync;
/**
* Get the storageAccountId value.
*
* @return the storageAccountId value
*/
public String storageAccountId() {
return this.storageAccountId;
}
/**
* Set the storageAccountId value.
*
* @param storageAccountId the storageAccountId value to set
* @return the AutoStorageProperties object itself.
*/
public AutoStorageProperties withStorageAccountId(String storageAccountId) {
this.storageAccountId = storageAccountId;
return this;
}
/**
* Get the lastKeySync value.
*
* @return the lastKeySync value
*/
public DateTime lastKeySync() {
return this.lastKeySync;
}
/**
* Set the lastKeySync value.
*
* @param lastKeySync the lastKeySync value to set
* @return the AutoStorageProperties object itself.
*/
public AutoStorageProperties withLastKeySync(DateTime lastKeySync) {
this.lastKeySync = lastKeySync;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy