LicenseProfileUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. hybridcompute. fluent. models. LicenseProfileUpdateProperties
- com.
Implements
public final class LicenseProfileUpdateProperties
implements JsonSerializable<LicenseProfileUpdateProperties>
Describe the Update properties of a license profile.
Constructor | Description |
---|---|
License |
Creates an instance of License |
Modifier and Type | Method and Description |
---|---|
String |
assigned Get the assigned |
static
License |
from Reads an instance of License |
List<Product |
product Get the product |
License |
product Get the product |
Boolean |
software Get the software |
License |
subscription Get the subscription |
Json |
to |
void |
validate()
Validates the instance. |
License |
with Set the assigned |
License |
with Set the product |
License |
with Set the product |
License |
with Set the software |
License |
with Set the subscription |
Methods inherited from java.lang.Object
LicenseProfileUpdateProperties
public LicenseProfileUpdateProperties()
Creates an instance of LicenseProfileUpdateProperties class.
assignedLicense
public String assignedLicense()
Get the assignedLicense property: The resource id of the license.
Returns:
fromJson
public static LicenseProfileUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of LicenseProfileUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
productFeatures
public List
Get the productFeatures property: The list of product feature updates.
Returns:
productType
public LicenseProfileProductType productType()
Get the productType property: Indicates the product type of the license.
Returns:
softwareAssuranceCustomer
public Boolean softwareAssuranceCustomer()
Get the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.
Returns:
subscriptionStatus
public LicenseProfileSubscriptionStatusUpdate subscriptionStatus()
Get the subscriptionStatus property: Indicates the subscription status of the product.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAssignedLicense
public LicenseProfileUpdateProperties withAssignedLicense(String assignedLicense)
Set the assignedLicense property: The resource id of the license.
Parameters:
Returns:
withProductFeatures
public LicenseProfileUpdateProperties withProductFeatures(List
Set the productFeatures property: The list of product feature updates.
Parameters:
Returns:
withProductType
public LicenseProfileUpdateProperties withProductType(LicenseProfileProductType productType)
Set the productType property: Indicates the product type of the license.
Parameters:
Returns:
withSoftwareAssuranceCustomer
public LicenseProfileUpdateProperties withSoftwareAssuranceCustomer(Boolean softwareAssuranceCustomer)
Set the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.
Parameters:
Returns:
withSubscriptionStatus
public LicenseProfileUpdateProperties withSubscriptionStatus(LicenseProfileSubscriptionStatusUpdate subscriptionStatus)
Set the subscriptionStatus property: Indicates the subscription status of the product.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: