com.microsoft.azure.management.batch.implementation.BatchAccountCreateParametersInner 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.implementation;
import java.util.Map;
import com.microsoft.azure.management.batch.AutoStorageBaseProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
/**
* Parameters supplied to the Create operation.
*/
@JsonFlatten
public class BatchAccountCreateParametersInner {
/**
* The region in which to create the account.
*/
@JsonProperty(required = true)
private String location;
/**
* The user specified tags associated with the account.
*/
private Map tags;
/**
* The properties related to auto storage account.
*/
@JsonProperty(value = "properties.autoStorage")
private AutoStorageBaseProperties autoStorage;
/**
* Get the location value.
*
* @return the location value
*/
public String location() {
return this.location;
}
/**
* Set the location value.
*
* @param location the location value to set
* @return the BatchAccountCreateParametersInner object itself.
*/
public BatchAccountCreateParametersInner withLocation(String location) {
this.location = location;
return this;
}
/**
* Get the tags value.
*
* @return the tags value
*/
public Map tags() {
return this.tags;
}
/**
* Set the tags value.
*
* @param tags the tags value to set
* @return the BatchAccountCreateParametersInner object itself.
*/
public BatchAccountCreateParametersInner withTags(Map tags) {
this.tags = tags;
return this;
}
/**
* Get the autoStorage value.
*
* @return the autoStorage value
*/
public AutoStorageBaseProperties autoStorage() {
return this.autoStorage;
}
/**
* Set the autoStorage value.
*
* @param autoStorage the autoStorage value to set
* @return the BatchAccountCreateParametersInner object itself.
*/
public BatchAccountCreateParametersInner withAutoStorage(AutoStorageBaseProperties autoStorage) {
this.autoStorage = autoStorage;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy