com.pulumi.azure.synapse.outputs.SqlPoolVulnerabilityAssessmentBaselineBaseline 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.azure.synapse.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class SqlPoolVulnerabilityAssessmentBaselineBaseline {
/**
* @return Specifies a list of rule baseline result.
*
*/
private List results;
private SqlPoolVulnerabilityAssessmentBaselineBaseline() {}
/**
* @return Specifies a list of rule baseline result.
*
*/
public List results() {
return this.results;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SqlPoolVulnerabilityAssessmentBaselineBaseline defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List results;
public Builder() {}
public Builder(SqlPoolVulnerabilityAssessmentBaselineBaseline defaults) {
Objects.requireNonNull(defaults);
this.results = defaults.results;
}
@CustomType.Setter
public Builder results(List results) {
if (results == null) {
throw new MissingRequiredPropertyException("SqlPoolVulnerabilityAssessmentBaselineBaseline", "results");
}
this.results = results;
return this;
}
public Builder results(String... results) {
return results(List.of(results));
}
public SqlPoolVulnerabilityAssessmentBaselineBaseline build() {
final var _resultValue = new SqlPoolVulnerabilityAssessmentBaselineBaseline();
_resultValue.results = results;
return _resultValue;
}
}
}