com.azure.resourcemanager.hybridcompute.models.ProductFeature 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;
import java.time.OffsetDateTime;
/**
* Product Feature.
*/
@Fluent
public final class ProductFeature {
/*
* Product feature name.
*/
@JsonProperty(value = "name")
private String name;
/*
* Indicates the current status of the product features.
*/
@JsonProperty(value = "subscriptionStatus")
private LicenseProfileSubscriptionStatus subscriptionStatus;
/*
* The timestamp in UTC when the billing starts.
*/
@JsonProperty(value = "billingStartDate", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime billingStartDate;
/*
* The timestamp in UTC when the user enrolls the feature.
*/
@JsonProperty(value = "enrollmentDate", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime enrollmentDate;
/*
* The timestamp in UTC when the user disenrolled the feature.
*/
@JsonProperty(value = "disenrollmentDate", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime disenrollmentDate;
/**
* Creates an instance of ProductFeature class.
*/
public ProductFeature() {
}
/**
* 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 ProductFeature object itself.
*/
public ProductFeature withName(String name) {
this.name = name;
return this;
}
/**
* Get the subscriptionStatus property: Indicates the current status of the product features.
*
* @return the subscriptionStatus value.
*/
public LicenseProfileSubscriptionStatus subscriptionStatus() {
return this.subscriptionStatus;
}
/**
* Set the subscriptionStatus property: Indicates the current status of the product features.
*
* @param subscriptionStatus the subscriptionStatus value to set.
* @return the ProductFeature object itself.
*/
public ProductFeature withSubscriptionStatus(LicenseProfileSubscriptionStatus subscriptionStatus) {
this.subscriptionStatus = subscriptionStatus;
return this;
}
/**
* Get the billingStartDate property: The timestamp in UTC when the billing starts.
*
* @return the billingStartDate value.
*/
public OffsetDateTime billingStartDate() {
return this.billingStartDate;
}
/**
* Get the enrollmentDate property: The timestamp in UTC when the user enrolls the feature.
*
* @return the enrollmentDate value.
*/
public OffsetDateTime enrollmentDate() {
return this.enrollmentDate;
}
/**
* Get the disenrollmentDate property: The timestamp in UTC when the user disenrolled the feature.
*
* @return the disenrollmentDate value.
*/
public OffsetDateTime disenrollmentDate() {
return this.disenrollmentDate;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy