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