All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.recoveryservicesbackup.models.AzureVMResourceFeatureSupportRequest Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.recoveryservicesbackup.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
 * AzureResource(IaaS VM) Specific feature support request.
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "featureType")
@JsonTypeName("AzureVMResourceBackup")
@Fluent
public final class AzureVMResourceFeatureSupportRequest extends FeatureSupportRequest {
    /*
     * Size of the resource: VM size(A/D series etc) in case of IaasVM
     */
    @JsonProperty(value = "vmSize")
    private String vmSize;

    /*
     * SKUs (Premium/Managed etc) in case of IaasVM
     */
    @JsonProperty(value = "vmSku")
    private String vmSku;

    /**
     * Creates an instance of AzureVMResourceFeatureSupportRequest class.
     */
    public AzureVMResourceFeatureSupportRequest() {
    }

    /**
     * Get the vmSize property: Size of the resource: VM size(A/D series etc) in case of IaasVM.
     * 
     * @return the vmSize value.
     */
    public String vmSize() {
        return this.vmSize;
    }

    /**
     * Set the vmSize property: Size of the resource: VM size(A/D series etc) in case of IaasVM.
     * 
     * @param vmSize the vmSize value to set.
     * @return the AzureVMResourceFeatureSupportRequest object itself.
     */
    public AzureVMResourceFeatureSupportRequest withVmSize(String vmSize) {
        this.vmSize = vmSize;
        return this;
    }

    /**
     * Get the vmSku property: SKUs (Premium/Managed etc) in case of IaasVM.
     * 
     * @return the vmSku value.
     */
    public String vmSku() {
        return this.vmSku;
    }

    /**
     * Set the vmSku property: SKUs (Premium/Managed etc) in case of IaasVM.
     * 
     * @param vmSku the vmSku value to set.
     * @return the AzureVMResourceFeatureSupportRequest object itself.
     */
    public AzureVMResourceFeatureSupportRequest withVmSku(String vmSku) {
        this.vmSku = vmSku;
        return this;
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    @Override
    public void validate() {
        super.validate();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy