
com.pulumi.azurenative.securityinsights.outputs.AutomationRulePropertyValuesConditionResponse 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.securityinsights.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AutomationRulePropertyValuesConditionResponse {
private @Nullable String operator;
/**
* @return The property to evaluate in an automation rule property condition.
*
*/
private @Nullable String propertyName;
private @Nullable List propertyValues;
private AutomationRulePropertyValuesConditionResponse() {}
public Optional operator() {
return Optional.ofNullable(this.operator);
}
/**
* @return The property to evaluate in an automation rule property condition.
*
*/
public Optional propertyName() {
return Optional.ofNullable(this.propertyName);
}
public List propertyValues() {
return this.propertyValues == null ? List.of() : this.propertyValues;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AutomationRulePropertyValuesConditionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String operator;
private @Nullable String propertyName;
private @Nullable List propertyValues;
public Builder() {}
public Builder(AutomationRulePropertyValuesConditionResponse defaults) {
Objects.requireNonNull(defaults);
this.operator = defaults.operator;
this.propertyName = defaults.propertyName;
this.propertyValues = defaults.propertyValues;
}
@CustomType.Setter
public Builder operator(@Nullable String operator) {
this.operator = operator;
return this;
}
@CustomType.Setter
public Builder propertyName(@Nullable String propertyName) {
this.propertyName = propertyName;
return this;
}
@CustomType.Setter
public Builder propertyValues(@Nullable List propertyValues) {
this.propertyValues = propertyValues;
return this;
}
public Builder propertyValues(String... propertyValues) {
return propertyValues(List.of(propertyValues));
}
public AutomationRulePropertyValuesConditionResponse build() {
final var _resultValue = new AutomationRulePropertyValuesConditionResponse();
_resultValue.operator = operator;
_resultValue.propertyName = propertyName;
_resultValue.propertyValues = propertyValues;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy