İngilizce dilinde oku

Aracılığıyla paylaş


LicenseProfileUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.hybridcompute.fluent.models.LicenseProfileUpdateProperties

Implements

public final class LicenseProfileUpdateProperties
implements JsonSerializable<LicenseProfileUpdateProperties>

Describe the Update properties of a license profile.

Constructor Summary

Constructor Description
LicenseProfileUpdateProperties()

Creates an instance of LicenseProfileUpdateProperties class.

Method Summary

Modifier and Type Method and Description
String assignedLicense()

Get the assignedLicense property: The resource id of the license.

static LicenseProfileUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of LicenseProfileUpdateProperties from the JsonReader.

List<ProductFeatureUpdate> productFeatures()

Get the productFeatures property: The list of product feature updates.

LicenseProfileProductType productType()

Get the productType property: Indicates the product type of the license.

Boolean softwareAssuranceCustomer()

Get the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.

LicenseProfileSubscriptionStatusUpdate subscriptionStatus()

Get the subscriptionStatus property: Indicates the subscription status of the product.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LicenseProfileUpdateProperties withAssignedLicense(String assignedLicense)

Set the assignedLicense property: The resource id of the license.

LicenseProfileUpdateProperties withProductFeatures(List<ProductFeatureUpdate> productFeatures)

Set the productFeatures property: The list of product feature updates.

LicenseProfileUpdateProperties withProductType(LicenseProfileProductType productType)

Set the productType property: Indicates the product type of the license.

LicenseProfileUpdateProperties withSoftwareAssuranceCustomer(Boolean softwareAssuranceCustomer)

Set the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.

LicenseProfileUpdateProperties withSubscriptionStatus(LicenseProfileSubscriptionStatusUpdate subscriptionStatus)

Set the subscriptionStatus property: Indicates the subscription status of the product.

Methods inherited from java.lang.Object

Constructor Details

LicenseProfileUpdateProperties

public LicenseProfileUpdateProperties()

Creates an instance of LicenseProfileUpdateProperties class.

Method Details

assignedLicense

public String assignedLicense()

Get the assignedLicense property: The resource id of the license.

Returns:

the assignedLicense value.

fromJson

public static LicenseProfileUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of LicenseProfileUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LicenseProfileUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the LicenseProfileUpdateProperties.

productFeatures

public List productFeatures()

Get the productFeatures property: The list of product feature updates.

Returns:

the productFeatures value.

productType

public LicenseProfileProductType productType()

Get the productType property: Indicates the product type of the license.

Returns:

the productType value.

softwareAssuranceCustomer

public Boolean softwareAssuranceCustomer()

Get the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.

Returns:

the softwareAssuranceCustomer value.

subscriptionStatus

public LicenseProfileSubscriptionStatusUpdate subscriptionStatus()

Get the subscriptionStatus property: Indicates the subscription status of the product.

Returns:

the subscriptionStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAssignedLicense

public LicenseProfileUpdateProperties withAssignedLicense(String assignedLicense)

Set the assignedLicense property: The resource id of the license.

Parameters:

assignedLicense - the assignedLicense value to set.

Returns:

the LicenseProfileUpdateProperties object itself.

withProductFeatures

public LicenseProfileUpdateProperties withProductFeatures(List productFeatures)

Set the productFeatures property: The list of product feature updates.

Parameters:

productFeatures - the productFeatures value to set.

Returns:

the LicenseProfileUpdateProperties object itself.

withProductType

public LicenseProfileUpdateProperties withProductType(LicenseProfileProductType productType)

Set the productType property: Indicates the product type of the license.

Parameters:

productType - the productType value to set.

Returns:

the LicenseProfileUpdateProperties object itself.

withSoftwareAssuranceCustomer

public LicenseProfileUpdateProperties withSoftwareAssuranceCustomer(Boolean softwareAssuranceCustomer)

Set the softwareAssuranceCustomer property: Specifies if this machine is licensed as part of a Software Assurance agreement.

Parameters:

softwareAssuranceCustomer - the softwareAssuranceCustomer value to set.

Returns:

the LicenseProfileUpdateProperties object itself.

withSubscriptionStatus

public LicenseProfileUpdateProperties withSubscriptionStatus(LicenseProfileSubscriptionStatusUpdate subscriptionStatus)

Set the subscriptionStatus property: Indicates the subscription status of the product.

Parameters:

subscriptionStatus - the subscriptionStatus value to set.

Returns:

the LicenseProfileUpdateProperties object itself.

Applies to

Azure SDK for Java

Preview