/** * 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.containerregistry.implementation; import java.util.Map; import com.microsoft.azure.management.containerregistry.StorageAccountParameters; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; /** * The parameters for updating a container registry. */ @JsonFlatten public class RegistryUpdateParametersInner { /** * The tags for the container registry. */ @JsonProperty(value = "tags") private Map<String, String> tags; /** * The value that indicates whether the admin user is enabled. This value * is false by default. */ @JsonProperty(value = "properties.adminUserEnabled") private Boolean adminUserEnabled; /** * The parameters of a storage account for the container registry. If * specified, the storage account must be in the same physical location as * the container registry. */ @JsonProperty(value = "properties.storageAccount") private StorageAccountParameters storageAccount; /** * Get the tags value. * * @return the tags value */ public Map<String, String> tags() { return this.tags; } /** * Set the tags value. * * @param tags the tags value to set * @return the RegistryUpdateParametersInner object itself. */ public RegistryUpdateParametersInner withTags(Map<String, String> tags) { this.tags = tags; return this; } /** * Get the adminUserEnabled value. * * @return the adminUserEnabled value */ public Boolean adminUserEnabled() { return this.adminUserEnabled; } /** * Set the adminUserEnabled value. * * @param adminUserEnabled the adminUserEnabled value to set * @return the RegistryUpdateParametersInner object itself. */ public RegistryUpdateParametersInner withAdminUserEnabled(Boolean adminUserEnabled) { this.adminUserEnabled = adminUserEnabled; return this; } /** * Get the storageAccount value. * * @return the storageAccount value */ public StorageAccountParameters storageAccount() { return this.storageAccount; } /** * Set the storageAccount value. * * @param storageAccount the storageAccount value to set * @return the RegistryUpdateParametersInner object itself. */ public RegistryUpdateParametersInner withStorageAccount(StorageAccountParameters storageAccount) { this.storageAccount = storageAccount; return this; } }