com.azure.resourcemanager.hybridcompute.models.ProductFeatureUpdate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-hybridcompute Show documentation
Show all versions of azure-resourcemanager-hybridcompute Show documentation
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.
// 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