
com.pulumi.azurenative.migrate.outputs.SqlServerLicensingSettingsResponse 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.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 SqlServerLicensingSettingsResponse {
/**
* @return Licence cost.
*
*/
private Double licenseCost;
/**
* @return Software assurance (SA) cost.
*
*/
private Double softwareAssuranceCost;
/**
* @return SQL Server version.
*
*/
private String version;
private SqlServerLicensingSettingsResponse() {}
/**
* @return Licence cost.
*
*/
public Double licenseCost() {
return this.licenseCost;
}
/**
* @return Software assurance (SA) cost.
*
*/
public Double softwareAssuranceCost() {
return this.softwareAssuranceCost;
}
/**
* @return SQL Server version.
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SqlServerLicensingSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double licenseCost;
private Double softwareAssuranceCost;
private String version;
public Builder() {}
public Builder(SqlServerLicensingSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.licenseCost = defaults.licenseCost;
this.softwareAssuranceCost = defaults.softwareAssuranceCost;
this.version = defaults.version;
}
@CustomType.Setter
public Builder licenseCost(Double licenseCost) {
if (licenseCost == null) {
throw new MissingRequiredPropertyException("SqlServerLicensingSettingsResponse", "licenseCost");
}
this.licenseCost = licenseCost;
return this;
}
@CustomType.Setter
public Builder softwareAssuranceCost(Double softwareAssuranceCost) {
if (softwareAssuranceCost == null) {
throw new MissingRequiredPropertyException("SqlServerLicensingSettingsResponse", "softwareAssuranceCost");
}
this.softwareAssuranceCost = softwareAssuranceCost;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("SqlServerLicensingSettingsResponse", "version");
}
this.version = version;
return this;
}
public SqlServerLicensingSettingsResponse build() {
final var _resultValue = new SqlServerLicensingSettingsResponse();
_resultValue.licenseCost = licenseCost;
_resultValue.softwareAssuranceCost = softwareAssuranceCost;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy