
com.pulumi.azurenative.awsconnector.outputs.SeveritySummaryResponse 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.awsconnector.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SeveritySummaryResponse {
/**
* @return <p>The total number of resources or compliance items that have a severity level of <code>Critical</code>. Critical severity is determined by the organization that published the compliance items.</p>
*
*/
private @Nullable Integer criticalCount;
/**
* @return <p>The total number of resources or compliance items that have a severity level of high. High severity is determined by the organization that published the compliance items.</p>
*
*/
private @Nullable Integer highCount;
/**
* @return <p>The total number of resources or compliance items that have a severity level of informational. Informational severity is determined by the organization that published the compliance items.</p>
*
*/
private @Nullable Integer informationalCount;
/**
* @return <p>The total number of resources or compliance items that have a severity level of low. Low severity is determined by the organization that published the compliance items.</p>
*
*/
private @Nullable Integer lowCount;
/**
* @return <p>The total number of resources or compliance items that have a severity level of medium. Medium severity is determined by the organization that published the compliance items.</p>
*
*/
private @Nullable Integer mediumCount;
/**
* @return <p>The total number of resources or compliance items that have a severity level of unspecified. Unspecified severity is determined by the organization that published the compliance items.</p>
*
*/
private @Nullable Integer unspecifiedCount;
private SeveritySummaryResponse() {}
/**
* @return <p>The total number of resources or compliance items that have a severity level of <code>Critical</code>. Critical severity is determined by the organization that published the compliance items.</p>
*
*/
public Optional criticalCount() {
return Optional.ofNullable(this.criticalCount);
}
/**
* @return <p>The total number of resources or compliance items that have a severity level of high. High severity is determined by the organization that published the compliance items.</p>
*
*/
public Optional highCount() {
return Optional.ofNullable(this.highCount);
}
/**
* @return <p>The total number of resources or compliance items that have a severity level of informational. Informational severity is determined by the organization that published the compliance items.</p>
*
*/
public Optional informationalCount() {
return Optional.ofNullable(this.informationalCount);
}
/**
* @return <p>The total number of resources or compliance items that have a severity level of low. Low severity is determined by the organization that published the compliance items.</p>
*
*/
public Optional lowCount() {
return Optional.ofNullable(this.lowCount);
}
/**
* @return <p>The total number of resources or compliance items that have a severity level of medium. Medium severity is determined by the organization that published the compliance items.</p>
*
*/
public Optional mediumCount() {
return Optional.ofNullable(this.mediumCount);
}
/**
* @return <p>The total number of resources or compliance items that have a severity level of unspecified. Unspecified severity is determined by the organization that published the compliance items.</p>
*
*/
public Optional unspecifiedCount() {
return Optional.ofNullable(this.unspecifiedCount);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SeveritySummaryResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer criticalCount;
private @Nullable Integer highCount;
private @Nullable Integer informationalCount;
private @Nullable Integer lowCount;
private @Nullable Integer mediumCount;
private @Nullable Integer unspecifiedCount;
public Builder() {}
public Builder(SeveritySummaryResponse defaults) {
Objects.requireNonNull(defaults);
this.criticalCount = defaults.criticalCount;
this.highCount = defaults.highCount;
this.informationalCount = defaults.informationalCount;
this.lowCount = defaults.lowCount;
this.mediumCount = defaults.mediumCount;
this.unspecifiedCount = defaults.unspecifiedCount;
}
@CustomType.Setter
public Builder criticalCount(@Nullable Integer criticalCount) {
this.criticalCount = criticalCount;
return this;
}
@CustomType.Setter
public Builder highCount(@Nullable Integer highCount) {
this.highCount = highCount;
return this;
}
@CustomType.Setter
public Builder informationalCount(@Nullable Integer informationalCount) {
this.informationalCount = informationalCount;
return this;
}
@CustomType.Setter
public Builder lowCount(@Nullable Integer lowCount) {
this.lowCount = lowCount;
return this;
}
@CustomType.Setter
public Builder mediumCount(@Nullable Integer mediumCount) {
this.mediumCount = mediumCount;
return this;
}
@CustomType.Setter
public Builder unspecifiedCount(@Nullable Integer unspecifiedCount) {
this.unspecifiedCount = unspecifiedCount;
return this;
}
public SeveritySummaryResponse build() {
final var _resultValue = new SeveritySummaryResponse();
_resultValue.criticalCount = criticalCount;
_resultValue.highCount = highCount;
_resultValue.informationalCount = informationalCount;
_resultValue.lowCount = lowCount;
_resultValue.mediumCount = mediumCount;
_resultValue.unspecifiedCount = unspecifiedCount;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy