/** * 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; import com.fasterxml.jackson.annotation.JsonProperty; /** * The SKU of a container registry. */ public class Sku { /** * The SKU name of the the container registry. Required for registry * creation. Allowed value: Basic. */ @JsonProperty(value = "name", required = true) private String name; /** * The SKU tier based on the SKU name. Possible values include: 'Basic'. */ @JsonProperty(value = "tier", access = JsonProperty.Access.WRITE_ONLY) private SkuTier tier; /** * Get the name value. * * @return the name value */ public String name() { return this.name; } /** * Set the name value. * * @param name the name value to set * @return the Sku object itself. */ public Sku withName(String name) { this.name = name; return this; } /** * Get the tier value. * * @return the tier value */ public SkuTier tier() { return this.tier; } }