
com.pulumi.azurenative.migrate.outputs.GetAvsAssessmentsOperationResult Maven / Gradle / Ivy
// *** 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.azurenative.migrate.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetAvsAssessmentsOperationResult {
/**
* @return Gets the assessment error summary.
* This is the number of machines
* affected by each type of error in this assessment.
*
*/
private Map assessmentErrorSummary;
/**
* @return Assessment type of the assessment.
*
*/
private String assessmentType;
/**
* @return Azure Location or Azure region where to which the machines will be migrated.
*
*/
private @Nullable String azureLocation;
/**
* @return Azure Offer code according to which cost estimation is done.
*
*/
private @Nullable String azureOfferCode;
/**
* @return Confidence Rating in Percentage.
*
*/
private Double confidenceRatingInPercentage;
/**
* @return Predicted CPU utilization.
*
*/
private Double cpuUtilization;
/**
* @return Date and Time when assessment was created.
*
*/
private String createdTimestamp;
/**
* @return Currency in which prices should be reported.
*
*/
private @Nullable String currency;
/**
* @return De-duplication compression.
*
*/
private @Nullable Double dedupeCompression;
/**
* @return Custom discount percentage.
*
*/
private @Nullable Double discountPercentage;
/**
* @return Failures to tolerate and RAID level in a common property.
*
*/
private @Nullable String failuresToTolerateAndRaidLevel;
/**
* @return Gets the group type for the assessment.
*
*/
private String groupType;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Is Stretch Cluster Enabled.
*
*/
private @Nullable Boolean isStretchClusterEnabled;
/**
* @return Limiting factor.
*
*/
private String limitingFactor;
/**
* @return Memory overcommit.
*
*/
private @Nullable Double memOvercommit;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return AVS node type.
*
*/
private @Nullable String nodeType;
/**
* @return Number of machines part of the assessment.
*
*/
private Integer numberOfMachines;
/**
* @return Recommended number of nodes.
*
*/
private Integer numberOfNodes;
/**
* @return Percentile of the utilization data values to be considered while assessing
* machines.
*
*/
private @Nullable String percentile;
/**
* @return Gets or sets the end time to consider performance data for assessment.
*
*/
private @Nullable String perfDataEndTime;
/**
* @return Gets or sets the start time to consider performance data for assessment.
*
*/
private @Nullable String perfDataStartTime;
/**
* @return Time when the Azure Prices were queried. Date-Time represented in ISO-8601
* format.
*
*/
private String pricesTimestamp;
/**
* @return The status of the last operation.
*
*/
private @Nullable String provisioningState;
/**
* @return Predicted RAM utilization.
*
*/
private Double ramUtilization;
/**
* @return Reserved instance.
*
*/
private @Nullable String reservedInstance;
/**
* @return Percentage of buffer that user wants on performance metrics when recommending
* Azure sizes.
*
*/
private @Nullable Double scalingFactor;
/**
* @return Schema version.
*
*/
private String schemaVersion;
/**
* @return Assessment sizing criterion.
*
*/
private @Nullable String sizingCriterion;
/**
* @return User configurable setting to display the Stage of Assessment.
*
*/
private String stage;
/**
* @return Whether assessment is in valid state and all machines have been assessed.
*
*/
private String status;
/**
* @return Predicted storage utilization.
*
*/
private Double storageUtilization;
/**
* @return Gets or sets the Assessment cloud suitability.
*
*/
private String suitability;
/**
* @return Gets or sets the Assessment suitability explanation.
*
*/
private String suitabilityExplanation;
/**
* @return Cloud suitability summary for all the machines in the assessment.
*
*/
private Map suitabilitySummary;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Time Range for which the historic utilization data should be considered for
* assessment.
*
*/
private @Nullable String timeRange;
/**
* @return Predicted total CPU cores used.
*
*/
private Double totalCpuCores;
/**
* @return Total monthly cost.
*
*/
private Double totalMonthlyCost;
/**
* @return Predicted total RAM used in GB.
*
*/
private Double totalRamInGB;
/**
* @return Predicted total Storage used in GB.
*
*/
private Double totalStorageInGB;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Date and Time when assessment was last updated.
*
*/
private String updatedTimestamp;
/**
* @return VCPU over subscription.
*
*/
private @Nullable Double vcpuOversubscription;
private GetAvsAssessmentsOperationResult() {}
/**
* @return Gets the assessment error summary.
* This is the number of machines
* affected by each type of error in this assessment.
*
*/
public Map assessmentErrorSummary() {
return this.assessmentErrorSummary;
}
/**
* @return Assessment type of the assessment.
*
*/
public String assessmentType() {
return this.assessmentType;
}
/**
* @return Azure Location or Azure region where to which the machines will be migrated.
*
*/
public Optional azureLocation() {
return Optional.ofNullable(this.azureLocation);
}
/**
* @return Azure Offer code according to which cost estimation is done.
*
*/
public Optional azureOfferCode() {
return Optional.ofNullable(this.azureOfferCode);
}
/**
* @return Confidence Rating in Percentage.
*
*/
public Double confidenceRatingInPercentage() {
return this.confidenceRatingInPercentage;
}
/**
* @return Predicted CPU utilization.
*
*/
public Double cpuUtilization() {
return this.cpuUtilization;
}
/**
* @return Date and Time when assessment was created.
*
*/
public String createdTimestamp() {
return this.createdTimestamp;
}
/**
* @return Currency in which prices should be reported.
*
*/
public Optional currency() {
return Optional.ofNullable(this.currency);
}
/**
* @return De-duplication compression.
*
*/
public Optional dedupeCompression() {
return Optional.ofNullable(this.dedupeCompression);
}
/**
* @return Custom discount percentage.
*
*/
public Optional discountPercentage() {
return Optional.ofNullable(this.discountPercentage);
}
/**
* @return Failures to tolerate and RAID level in a common property.
*
*/
public Optional failuresToTolerateAndRaidLevel() {
return Optional.ofNullable(this.failuresToTolerateAndRaidLevel);
}
/**
* @return Gets the group type for the assessment.
*
*/
public String groupType() {
return this.groupType;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Is Stretch Cluster Enabled.
*
*/
public Optional isStretchClusterEnabled() {
return Optional.ofNullable(this.isStretchClusterEnabled);
}
/**
* @return Limiting factor.
*
*/
public String limitingFactor() {
return this.limitingFactor;
}
/**
* @return Memory overcommit.
*
*/
public Optional memOvercommit() {
return Optional.ofNullable(this.memOvercommit);
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return AVS node type.
*
*/
public Optional nodeType() {
return Optional.ofNullable(this.nodeType);
}
/**
* @return Number of machines part of the assessment.
*
*/
public Integer numberOfMachines() {
return this.numberOfMachines;
}
/**
* @return Recommended number of nodes.
*
*/
public Integer numberOfNodes() {
return this.numberOfNodes;
}
/**
* @return Percentile of the utilization data values to be considered while assessing
* machines.
*
*/
public Optional percentile() {
return Optional.ofNullable(this.percentile);
}
/**
* @return Gets or sets the end time to consider performance data for assessment.
*
*/
public Optional perfDataEndTime() {
return Optional.ofNullable(this.perfDataEndTime);
}
/**
* @return Gets or sets the start time to consider performance data for assessment.
*
*/
public Optional perfDataStartTime() {
return Optional.ofNullable(this.perfDataStartTime);
}
/**
* @return Time when the Azure Prices were queried. Date-Time represented in ISO-8601
* format.
*
*/
public String pricesTimestamp() {
return this.pricesTimestamp;
}
/**
* @return The status of the last operation.
*
*/
public Optional provisioningState() {
return Optional.ofNullable(this.provisioningState);
}
/**
* @return Predicted RAM utilization.
*
*/
public Double ramUtilization() {
return this.ramUtilization;
}
/**
* @return Reserved instance.
*
*/
public Optional reservedInstance() {
return Optional.ofNullable(this.reservedInstance);
}
/**
* @return Percentage of buffer that user wants on performance metrics when recommending
* Azure sizes.
*
*/
public Optional scalingFactor() {
return Optional.ofNullable(this.scalingFactor);
}
/**
* @return Schema version.
*
*/
public String schemaVersion() {
return this.schemaVersion;
}
/**
* @return Assessment sizing criterion.
*
*/
public Optional sizingCriterion() {
return Optional.ofNullable(this.sizingCriterion);
}
/**
* @return User configurable setting to display the Stage of Assessment.
*
*/
public String stage() {
return this.stage;
}
/**
* @return Whether assessment is in valid state and all machines have been assessed.
*
*/
public String status() {
return this.status;
}
/**
* @return Predicted storage utilization.
*
*/
public Double storageUtilization() {
return this.storageUtilization;
}
/**
* @return Gets or sets the Assessment cloud suitability.
*
*/
public String suitability() {
return this.suitability;
}
/**
* @return Gets or sets the Assessment suitability explanation.
*
*/
public String suitabilityExplanation() {
return this.suitabilityExplanation;
}
/**
* @return Cloud suitability summary for all the machines in the assessment.
*
*/
public Map suitabilitySummary() {
return this.suitabilitySummary;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Time Range for which the historic utilization data should be considered for
* assessment.
*
*/
public Optional timeRange() {
return Optional.ofNullable(this.timeRange);
}
/**
* @return Predicted total CPU cores used.
*
*/
public Double totalCpuCores() {
return this.totalCpuCores;
}
/**
* @return Total monthly cost.
*
*/
public Double totalMonthlyCost() {
return this.totalMonthlyCost;
}
/**
* @return Predicted total RAM used in GB.
*
*/
public Double totalRamInGB() {
return this.totalRamInGB;
}
/**
* @return Predicted total Storage used in GB.
*
*/
public Double totalStorageInGB() {
return this.totalStorageInGB;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Date and Time when assessment was last updated.
*
*/
public String updatedTimestamp() {
return this.updatedTimestamp;
}
/**
* @return VCPU over subscription.
*
*/
public Optional vcpuOversubscription() {
return Optional.ofNullable(this.vcpuOversubscription);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAvsAssessmentsOperationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Map assessmentErrorSummary;
private String assessmentType;
private @Nullable String azureLocation;
private @Nullable String azureOfferCode;
private Double confidenceRatingInPercentage;
private Double cpuUtilization;
private String createdTimestamp;
private @Nullable String currency;
private @Nullable Double dedupeCompression;
private @Nullable Double discountPercentage;
private @Nullable String failuresToTolerateAndRaidLevel;
private String groupType;
private String id;
private @Nullable Boolean isStretchClusterEnabled;
private String limitingFactor;
private @Nullable Double memOvercommit;
private String name;
private @Nullable String nodeType;
private Integer numberOfMachines;
private Integer numberOfNodes;
private @Nullable String percentile;
private @Nullable String perfDataEndTime;
private @Nullable String perfDataStartTime;
private String pricesTimestamp;
private @Nullable String provisioningState;
private Double ramUtilization;
private @Nullable String reservedInstance;
private @Nullable Double scalingFactor;
private String schemaVersion;
private @Nullable String sizingCriterion;
private String stage;
private String status;
private Double storageUtilization;
private String suitability;
private String suitabilityExplanation;
private Map suitabilitySummary;
private SystemDataResponse systemData;
private @Nullable String timeRange;
private Double totalCpuCores;
private Double totalMonthlyCost;
private Double totalRamInGB;
private Double totalStorageInGB;
private String type;
private String updatedTimestamp;
private @Nullable Double vcpuOversubscription;
public Builder() {}
public Builder(GetAvsAssessmentsOperationResult defaults) {
Objects.requireNonNull(defaults);
this.assessmentErrorSummary = defaults.assessmentErrorSummary;
this.assessmentType = defaults.assessmentType;
this.azureLocation = defaults.azureLocation;
this.azureOfferCode = defaults.azureOfferCode;
this.confidenceRatingInPercentage = defaults.confidenceRatingInPercentage;
this.cpuUtilization = defaults.cpuUtilization;
this.createdTimestamp = defaults.createdTimestamp;
this.currency = defaults.currency;
this.dedupeCompression = defaults.dedupeCompression;
this.discountPercentage = defaults.discountPercentage;
this.failuresToTolerateAndRaidLevel = defaults.failuresToTolerateAndRaidLevel;
this.groupType = defaults.groupType;
this.id = defaults.id;
this.isStretchClusterEnabled = defaults.isStretchClusterEnabled;
this.limitingFactor = defaults.limitingFactor;
this.memOvercommit = defaults.memOvercommit;
this.name = defaults.name;
this.nodeType = defaults.nodeType;
this.numberOfMachines = defaults.numberOfMachines;
this.numberOfNodes = defaults.numberOfNodes;
this.percentile = defaults.percentile;
this.perfDataEndTime = defaults.perfDataEndTime;
this.perfDataStartTime = defaults.perfDataStartTime;
this.pricesTimestamp = defaults.pricesTimestamp;
this.provisioningState = defaults.provisioningState;
this.ramUtilization = defaults.ramUtilization;
this.reservedInstance = defaults.reservedInstance;
this.scalingFactor = defaults.scalingFactor;
this.schemaVersion = defaults.schemaVersion;
this.sizingCriterion = defaults.sizingCriterion;
this.stage = defaults.stage;
this.status = defaults.status;
this.storageUtilization = defaults.storageUtilization;
this.suitability = defaults.suitability;
this.suitabilityExplanation = defaults.suitabilityExplanation;
this.suitabilitySummary = defaults.suitabilitySummary;
this.systemData = defaults.systemData;
this.timeRange = defaults.timeRange;
this.totalCpuCores = defaults.totalCpuCores;
this.totalMonthlyCost = defaults.totalMonthlyCost;
this.totalRamInGB = defaults.totalRamInGB;
this.totalStorageInGB = defaults.totalStorageInGB;
this.type = defaults.type;
this.updatedTimestamp = defaults.updatedTimestamp;
this.vcpuOversubscription = defaults.vcpuOversubscription;
}
@CustomType.Setter
public Builder assessmentErrorSummary(Map assessmentErrorSummary) {
if (assessmentErrorSummary == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "assessmentErrorSummary");
}
this.assessmentErrorSummary = assessmentErrorSummary;
return this;
}
@CustomType.Setter
public Builder assessmentType(String assessmentType) {
if (assessmentType == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "assessmentType");
}
this.assessmentType = assessmentType;
return this;
}
@CustomType.Setter
public Builder azureLocation(@Nullable String azureLocation) {
this.azureLocation = azureLocation;
return this;
}
@CustomType.Setter
public Builder azureOfferCode(@Nullable String azureOfferCode) {
this.azureOfferCode = azureOfferCode;
return this;
}
@CustomType.Setter
public Builder confidenceRatingInPercentage(Double confidenceRatingInPercentage) {
if (confidenceRatingInPercentage == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "confidenceRatingInPercentage");
}
this.confidenceRatingInPercentage = confidenceRatingInPercentage;
return this;
}
@CustomType.Setter
public Builder cpuUtilization(Double cpuUtilization) {
if (cpuUtilization == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "cpuUtilization");
}
this.cpuUtilization = cpuUtilization;
return this;
}
@CustomType.Setter
public Builder createdTimestamp(String createdTimestamp) {
if (createdTimestamp == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "createdTimestamp");
}
this.createdTimestamp = createdTimestamp;
return this;
}
@CustomType.Setter
public Builder currency(@Nullable String currency) {
this.currency = currency;
return this;
}
@CustomType.Setter
public Builder dedupeCompression(@Nullable Double dedupeCompression) {
this.dedupeCompression = dedupeCompression;
return this;
}
@CustomType.Setter
public Builder discountPercentage(@Nullable Double discountPercentage) {
this.discountPercentage = discountPercentage;
return this;
}
@CustomType.Setter
public Builder failuresToTolerateAndRaidLevel(@Nullable String failuresToTolerateAndRaidLevel) {
this.failuresToTolerateAndRaidLevel = failuresToTolerateAndRaidLevel;
return this;
}
@CustomType.Setter
public Builder groupType(String groupType) {
if (groupType == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "groupType");
}
this.groupType = groupType;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder isStretchClusterEnabled(@Nullable Boolean isStretchClusterEnabled) {
this.isStretchClusterEnabled = isStretchClusterEnabled;
return this;
}
@CustomType.Setter
public Builder limitingFactor(String limitingFactor) {
if (limitingFactor == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "limitingFactor");
}
this.limitingFactor = limitingFactor;
return this;
}
@CustomType.Setter
public Builder memOvercommit(@Nullable Double memOvercommit) {
this.memOvercommit = memOvercommit;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder nodeType(@Nullable String nodeType) {
this.nodeType = nodeType;
return this;
}
@CustomType.Setter
public Builder numberOfMachines(Integer numberOfMachines) {
if (numberOfMachines == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "numberOfMachines");
}
this.numberOfMachines = numberOfMachines;
return this;
}
@CustomType.Setter
public Builder numberOfNodes(Integer numberOfNodes) {
if (numberOfNodes == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "numberOfNodes");
}
this.numberOfNodes = numberOfNodes;
return this;
}
@CustomType.Setter
public Builder percentile(@Nullable String percentile) {
this.percentile = percentile;
return this;
}
@CustomType.Setter
public Builder perfDataEndTime(@Nullable String perfDataEndTime) {
this.perfDataEndTime = perfDataEndTime;
return this;
}
@CustomType.Setter
public Builder perfDataStartTime(@Nullable String perfDataStartTime) {
this.perfDataStartTime = perfDataStartTime;
return this;
}
@CustomType.Setter
public Builder pricesTimestamp(String pricesTimestamp) {
if (pricesTimestamp == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "pricesTimestamp");
}
this.pricesTimestamp = pricesTimestamp;
return this;
}
@CustomType.Setter
public Builder provisioningState(@Nullable String provisioningState) {
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder ramUtilization(Double ramUtilization) {
if (ramUtilization == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "ramUtilization");
}
this.ramUtilization = ramUtilization;
return this;
}
@CustomType.Setter
public Builder reservedInstance(@Nullable String reservedInstance) {
this.reservedInstance = reservedInstance;
return this;
}
@CustomType.Setter
public Builder scalingFactor(@Nullable Double scalingFactor) {
this.scalingFactor = scalingFactor;
return this;
}
@CustomType.Setter
public Builder schemaVersion(String schemaVersion) {
if (schemaVersion == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "schemaVersion");
}
this.schemaVersion = schemaVersion;
return this;
}
@CustomType.Setter
public Builder sizingCriterion(@Nullable String sizingCriterion) {
this.sizingCriterion = sizingCriterion;
return this;
}
@CustomType.Setter
public Builder stage(String stage) {
if (stage == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "stage");
}
this.stage = stage;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder storageUtilization(Double storageUtilization) {
if (storageUtilization == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "storageUtilization");
}
this.storageUtilization = storageUtilization;
return this;
}
@CustomType.Setter
public Builder suitability(String suitability) {
if (suitability == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "suitability");
}
this.suitability = suitability;
return this;
}
@CustomType.Setter
public Builder suitabilityExplanation(String suitabilityExplanation) {
if (suitabilityExplanation == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "suitabilityExplanation");
}
this.suitabilityExplanation = suitabilityExplanation;
return this;
}
@CustomType.Setter
public Builder suitabilitySummary(Map suitabilitySummary) {
if (suitabilitySummary == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "suitabilitySummary");
}
this.suitabilitySummary = suitabilitySummary;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder timeRange(@Nullable String timeRange) {
this.timeRange = timeRange;
return this;
}
@CustomType.Setter
public Builder totalCpuCores(Double totalCpuCores) {
if (totalCpuCores == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "totalCpuCores");
}
this.totalCpuCores = totalCpuCores;
return this;
}
@CustomType.Setter
public Builder totalMonthlyCost(Double totalMonthlyCost) {
if (totalMonthlyCost == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "totalMonthlyCost");
}
this.totalMonthlyCost = totalMonthlyCost;
return this;
}
@CustomType.Setter
public Builder totalRamInGB(Double totalRamInGB) {
if (totalRamInGB == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "totalRamInGB");
}
this.totalRamInGB = totalRamInGB;
return this;
}
@CustomType.Setter
public Builder totalStorageInGB(Double totalStorageInGB) {
if (totalStorageInGB == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "totalStorageInGB");
}
this.totalStorageInGB = totalStorageInGB;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder updatedTimestamp(String updatedTimestamp) {
if (updatedTimestamp == null) {
throw new MissingRequiredPropertyException("GetAvsAssessmentsOperationResult", "updatedTimestamp");
}
this.updatedTimestamp = updatedTimestamp;
return this;
}
@CustomType.Setter
public Builder vcpuOversubscription(@Nullable Double vcpuOversubscription) {
this.vcpuOversubscription = vcpuOversubscription;
return this;
}
public GetAvsAssessmentsOperationResult build() {
final var _resultValue = new GetAvsAssessmentsOperationResult();
_resultValue.assessmentErrorSummary = assessmentErrorSummary;
_resultValue.assessmentType = assessmentType;
_resultValue.azureLocation = azureLocation;
_resultValue.azureOfferCode = azureOfferCode;
_resultValue.confidenceRatingInPercentage = confidenceRatingInPercentage;
_resultValue.cpuUtilization = cpuUtilization;
_resultValue.createdTimestamp = createdTimestamp;
_resultValue.currency = currency;
_resultValue.dedupeCompression = dedupeCompression;
_resultValue.discountPercentage = discountPercentage;
_resultValue.failuresToTolerateAndRaidLevel = failuresToTolerateAndRaidLevel;
_resultValue.groupType = groupType;
_resultValue.id = id;
_resultValue.isStretchClusterEnabled = isStretchClusterEnabled;
_resultValue.limitingFactor = limitingFactor;
_resultValue.memOvercommit = memOvercommit;
_resultValue.name = name;
_resultValue.nodeType = nodeType;
_resultValue.numberOfMachines = numberOfMachines;
_resultValue.numberOfNodes = numberOfNodes;
_resultValue.percentile = percentile;
_resultValue.perfDataEndTime = perfDataEndTime;
_resultValue.perfDataStartTime = perfDataStartTime;
_resultValue.pricesTimestamp = pricesTimestamp;
_resultValue.provisioningState = provisioningState;
_resultValue.ramUtilization = ramUtilization;
_resultValue.reservedInstance = reservedInstance;
_resultValue.scalingFactor = scalingFactor;
_resultValue.schemaVersion = schemaVersion;
_resultValue.sizingCriterion = sizingCriterion;
_resultValue.stage = stage;
_resultValue.status = status;
_resultValue.storageUtilization = storageUtilization;
_resultValue.suitability = suitability;
_resultValue.suitabilityExplanation = suitabilityExplanation;
_resultValue.suitabilitySummary = suitabilitySummary;
_resultValue.systemData = systemData;
_resultValue.timeRange = timeRange;
_resultValue.totalCpuCores = totalCpuCores;
_resultValue.totalMonthlyCost = totalMonthlyCost;
_resultValue.totalRamInGB = totalRamInGB;
_resultValue.totalStorageInGB = totalStorageInGB;
_resultValue.type = type;
_resultValue.updatedTimestamp = updatedTimestamp;
_resultValue.vcpuOversubscription = vcpuOversubscription;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy