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

com.azure.resourcemanager.hybridcompute.models.ProductFeatureUpdate Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for HybridCompute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Hybrid Compute Management Client. Package tag package-preview-2024-07.

There is a newer version: 1.1.0-beta.1
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.hybridcompute.models;

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

/**
 * Product Feature.
 */
@Fluent
public final class ProductFeatureUpdate {
    /*
     * Product feature name.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * Indicates the new status of the product feature.
     */
    @JsonProperty(value = "subscriptionStatus")
    private LicenseProfileSubscriptionStatusUpdate subscriptionStatus;

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

    /**
     * Get the name property: Product feature name.
     * 
     * @return the name value.
     */
    public String name() {
        return this.name;
    }

    /**
     * Set the name property: Product feature name.
     * 
     * @param name the name value to set.
     * @return the ProductFeatureUpdate object itself.
     */
    public ProductFeatureUpdate withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the subscriptionStatus property: Indicates the new status of the product feature.
     * 
     * @return the subscriptionStatus value.
     */
    public LicenseProfileSubscriptionStatusUpdate subscriptionStatus() {
        return this.subscriptionStatus;
    }

    /**
     * Set the subscriptionStatus property: Indicates the new status of the product feature.
     * 
     * @param subscriptionStatus the subscriptionStatus value to set.
     * @return the ProductFeatureUpdate object itself.
     */
    public ProductFeatureUpdate withSubscriptionStatus(LicenseProfileSubscriptionStatusUpdate subscriptionStatus) {
        this.subscriptionStatus = subscriptionStatus;
        return this;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy