com.pulumi.googlenative.integrations.v1alpha.outputs.EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse 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.googlenative.integrations.v1alpha.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse {
/**
* @return Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
*
*/
private Boolean exclusive;
/**
* @return The regex applied to the input value(s).
*
*/
private String regex;
private EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse() {}
/**
* @return Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
*
*/
public Boolean exclusive() {
return this.exclusive;
}
/**
* @return The regex applied to the input value(s).
*
*/
public String regex() {
return this.regex;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean exclusive;
private String regex;
public Builder() {}
public Builder(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse defaults) {
Objects.requireNonNull(defaults);
this.exclusive = defaults.exclusive;
this.regex = defaults.regex;
}
@CustomType.Setter
public Builder exclusive(Boolean exclusive) {
this.exclusive = Objects.requireNonNull(exclusive);
return this;
}
@CustomType.Setter
public Builder regex(String regex) {
this.regex = Objects.requireNonNull(regex);
return this;
}
public EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse build() {
final var o = new EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse();
o.exclusive = exclusive;
o.regex = regex;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy