com.pulumi.azurenative.security.outputs.SuppressionAlertsScopeResponse 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.
The newest version!
// *** 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.security.outputs;
import com.pulumi.azurenative.security.outputs.ScopeElementResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class SuppressionAlertsScopeResponse {
/**
* @return All the conditions inside need to be true in order to suppress the alert
*
*/
private List allOf;
private SuppressionAlertsScopeResponse() {}
/**
* @return All the conditions inside need to be true in order to suppress the alert
*
*/
public List allOf() {
return this.allOf;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SuppressionAlertsScopeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List allOf;
public Builder() {}
public Builder(SuppressionAlertsScopeResponse defaults) {
Objects.requireNonNull(defaults);
this.allOf = defaults.allOf;
}
@CustomType.Setter
public Builder allOf(List allOf) {
if (allOf == null) {
throw new MissingRequiredPropertyException("SuppressionAlertsScopeResponse", "allOf");
}
this.allOf = allOf;
return this;
}
public Builder allOf(ScopeElementResponse... allOf) {
return allOf(List.of(allOf));
}
public SuppressionAlertsScopeResponse build() {
final var _resultValue = new SuppressionAlertsScopeResponse();
_resultValue.allOf = allOf;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy