com.pulumi.azurenative.migrate.outputs.SecuritySettingsResponse 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.util.Objects;
@CustomType
public final class SecuritySettingsResponse {
/**
* @return Physical servers per administrator.
*
*/
private Double serverSecurityCostPerServerPerYear;
/**
* @return Virtual machines per administrator.
*
*/
private Double sqlServerSecurityCostPerServerPerYear;
private SecuritySettingsResponse() {}
/**
* @return Physical servers per administrator.
*
*/
public Double serverSecurityCostPerServerPerYear() {
return this.serverSecurityCostPerServerPerYear;
}
/**
* @return Virtual machines per administrator.
*
*/
public Double sqlServerSecurityCostPerServerPerYear() {
return this.sqlServerSecurityCostPerServerPerYear;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecuritySettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double serverSecurityCostPerServerPerYear;
private Double sqlServerSecurityCostPerServerPerYear;
public Builder() {}
public Builder(SecuritySettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.serverSecurityCostPerServerPerYear = defaults.serverSecurityCostPerServerPerYear;
this.sqlServerSecurityCostPerServerPerYear = defaults.sqlServerSecurityCostPerServerPerYear;
}
@CustomType.Setter
public Builder serverSecurityCostPerServerPerYear(Double serverSecurityCostPerServerPerYear) {
if (serverSecurityCostPerServerPerYear == null) {
throw new MissingRequiredPropertyException("SecuritySettingsResponse", "serverSecurityCostPerServerPerYear");
}
this.serverSecurityCostPerServerPerYear = serverSecurityCostPerServerPerYear;
return this;
}
@CustomType.Setter
public Builder sqlServerSecurityCostPerServerPerYear(Double sqlServerSecurityCostPerServerPerYear) {
if (sqlServerSecurityCostPerServerPerYear == null) {
throw new MissingRequiredPropertyException("SecuritySettingsResponse", "sqlServerSecurityCostPerServerPerYear");
}
this.sqlServerSecurityCostPerServerPerYear = sqlServerSecurityCostPerServerPerYear;
return this;
}
public SecuritySettingsResponse build() {
final var _resultValue = new SecuritySettingsResponse();
_resultValue.serverSecurityCostPerServerPerYear = serverSecurityCostPerServerPerYear;
_resultValue.sqlServerSecurityCostPerServerPerYear = sqlServerSecurityCostPerServerPerYear;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy