
com.pulumi.azurenative.migrate.inputs.WindowsServerLicensingSettingsArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.Integer;
import java.util.Objects;
/**
* Windows Server licensing settings.
*
*/
public final class WindowsServerLicensingSettingsArgs extends com.pulumi.resources.ResourceArgs {
public static final WindowsServerLicensingSettingsArgs Empty = new WindowsServerLicensingSettingsArgs();
/**
* Licence Cost.
*
*/
@Import(name="licenseCost", required=true)
private Output licenseCost;
/**
* @return Licence Cost.
*
*/
public Output licenseCost() {
return this.licenseCost;
}
/**
* Licenses per core.
*
*/
@Import(name="licensesPerCore", required=true)
private Output licensesPerCore;
/**
* @return Licenses per core.
*
*/
public Output licensesPerCore() {
return this.licensesPerCore;
}
/**
* Software assurance (SA) cost.
*
*/
@Import(name="softwareAssuranceCost", required=true)
private Output softwareAssuranceCost;
/**
* @return Software assurance (SA) cost.
*
*/
public Output softwareAssuranceCost() {
return this.softwareAssuranceCost;
}
private WindowsServerLicensingSettingsArgs() {}
private WindowsServerLicensingSettingsArgs(WindowsServerLicensingSettingsArgs $) {
this.licenseCost = $.licenseCost;
this.licensesPerCore = $.licensesPerCore;
this.softwareAssuranceCost = $.softwareAssuranceCost;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WindowsServerLicensingSettingsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WindowsServerLicensingSettingsArgs $;
public Builder() {
$ = new WindowsServerLicensingSettingsArgs();
}
public Builder(WindowsServerLicensingSettingsArgs defaults) {
$ = new WindowsServerLicensingSettingsArgs(Objects.requireNonNull(defaults));
}
/**
* @param licenseCost Licence Cost.
*
* @return builder
*
*/
public Builder licenseCost(Output licenseCost) {
$.licenseCost = licenseCost;
return this;
}
/**
* @param licenseCost Licence Cost.
*
* @return builder
*
*/
public Builder licenseCost(Double licenseCost) {
return licenseCost(Output.of(licenseCost));
}
/**
* @param licensesPerCore Licenses per core.
*
* @return builder
*
*/
public Builder licensesPerCore(Output licensesPerCore) {
$.licensesPerCore = licensesPerCore;
return this;
}
/**
* @param licensesPerCore Licenses per core.
*
* @return builder
*
*/
public Builder licensesPerCore(Integer licensesPerCore) {
return licensesPerCore(Output.of(licensesPerCore));
}
/**
* @param softwareAssuranceCost Software assurance (SA) cost.
*
* @return builder
*
*/
public Builder softwareAssuranceCost(Output softwareAssuranceCost) {
$.softwareAssuranceCost = softwareAssuranceCost;
return this;
}
/**
* @param softwareAssuranceCost Software assurance (SA) cost.
*
* @return builder
*
*/
public Builder softwareAssuranceCost(Double softwareAssuranceCost) {
return softwareAssuranceCost(Output.of(softwareAssuranceCost));
}
public WindowsServerLicensingSettingsArgs build() {
if ($.licenseCost == null) {
throw new MissingRequiredPropertyException("WindowsServerLicensingSettingsArgs", "licenseCost");
}
if ($.licensesPerCore == null) {
throw new MissingRequiredPropertyException("WindowsServerLicensingSettingsArgs", "licensesPerCore");
}
if ($.softwareAssuranceCost == null) {
throw new MissingRequiredPropertyException("WindowsServerLicensingSettingsArgs", "softwareAssuranceCost");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy