com.azure.resourcemanager.hybridcompute.models.VolumeLicenseDetails 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;
/**
* The VolumeLicenseDetails model.
*/
@Fluent
public final class VolumeLicenseDetails {
/*
* Describes the program year the volume license is for.
*/
@JsonProperty(value = "programYear")
private ProgramYear programYear;
/*
* The invoice id for the volume license.
*/
@JsonProperty(value = "invoiceId")
private String invoiceId;
/**
* Creates an instance of VolumeLicenseDetails class.
*/
public VolumeLicenseDetails() {
}
/**
* Get the programYear property: Describes the program year the volume license is for.
*
* @return the programYear value.
*/
public ProgramYear programYear() {
return this.programYear;
}
/**
* Set the programYear property: Describes the program year the volume license is for.
*
* @param programYear the programYear value to set.
* @return the VolumeLicenseDetails object itself.
*/
public VolumeLicenseDetails withProgramYear(ProgramYear programYear) {
this.programYear = programYear;
return this;
}
/**
* Get the invoiceId property: The invoice id for the volume license.
*
* @return the invoiceId value.
*/
public String invoiceId() {
return this.invoiceId;
}
/**
* Set the invoiceId property: The invoice id for the volume license.
*
* @param invoiceId the invoiceId value to set.
* @return the VolumeLicenseDetails object itself.
*/
public VolumeLicenseDetails withInvoiceId(String invoiceId) {
this.invoiceId = invoiceId;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy