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

com.pulumi.azurenative.migrate.outputs.HypervLicenseResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.migrate.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class HypervLicenseResponse {
    /**
     * @return Cost of a licence.
     * 
     */
    private Double licenseCost;
    /**
     * @return HyperV licence type.
     * 
     */
    private String licenseType;

    private HypervLicenseResponse() {}
    /**
     * @return Cost of a licence.
     * 
     */
    public Double licenseCost() {
        return this.licenseCost;
    }
    /**
     * @return HyperV licence type.
     * 
     */
    public String licenseType() {
        return this.licenseType;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(HypervLicenseResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double licenseCost;
        private String licenseType;
        public Builder() {}
        public Builder(HypervLicenseResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.licenseCost = defaults.licenseCost;
    	      this.licenseType = defaults.licenseType;
        }

        @CustomType.Setter
        public Builder licenseCost(Double licenseCost) {
            if (licenseCost == null) {
              throw new MissingRequiredPropertyException("HypervLicenseResponse", "licenseCost");
            }
            this.licenseCost = licenseCost;
            return this;
        }
        @CustomType.Setter
        public Builder licenseType(String licenseType) {
            if (licenseType == null) {
              throw new MissingRequiredPropertyException("HypervLicenseResponse", "licenseType");
            }
            this.licenseType = licenseType;
            return this;
        }
        public HypervLicenseResponse build() {
            final var _resultValue = new HypervLicenseResponse();
            _resultValue.licenseCost = licenseCost;
            _resultValue.licenseType = licenseType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy