All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.hybridcompute.models.LicenseProfileStorageModelEsuProperties Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.1.0-beta.1
Show newest version
// 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.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/**
 * License profile storage model for ESU properties.
 */
@Immutable
public class LicenseProfileStorageModelEsuProperties {
    /*
     * The guid id of the license.
     */
    @JsonProperty(value = "assignedLicenseImmutableId", access = JsonProperty.Access.WRITE_ONLY)
    private String assignedLicenseImmutableId;

    /*
     * The list of ESU keys.
     */
    @JsonProperty(value = "esuKeys", access = JsonProperty.Access.WRITE_ONLY)
    private List esuKeys;

    /**
     * Creates an instance of LicenseProfileStorageModelEsuProperties class.
     */
    public LicenseProfileStorageModelEsuProperties() {
    }

    /**
     * Get the assignedLicenseImmutableId property: The guid id of the license.
     * 
     * @return the assignedLicenseImmutableId value.
     */
    public String assignedLicenseImmutableId() {
        return this.assignedLicenseImmutableId;
    }

    /**
     * Get the esuKeys property: The list of ESU keys.
     * 
     * @return the esuKeys value.
     */
    public List esuKeys() {
        return this.esuKeys;
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
        if (esuKeys() != null) {
            esuKeys().forEach(e -> e.validate());
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy