com.pulumi.azurenative.network.outputs.ApplicationGatewayRewriteRuleConditionResponse 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.
// *** 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.network.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ApplicationGatewayRewriteRuleConditionResponse {
/**
* @return Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
*
*/
private @Nullable Boolean ignoreCase;
/**
* @return Setting this value as truth will force to check the negation of the condition given by the user.
*
*/
private @Nullable Boolean negate;
/**
* @return The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.
*
*/
private @Nullable String pattern;
/**
* @return The condition parameter of the RewriteRuleCondition.
*
*/
private @Nullable String variable;
private ApplicationGatewayRewriteRuleConditionResponse() {}
/**
* @return Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
*
*/
public Optional ignoreCase() {
return Optional.ofNullable(this.ignoreCase);
}
/**
* @return Setting this value as truth will force to check the negation of the condition given by the user.
*
*/
public Optional negate() {
return Optional.ofNullable(this.negate);
}
/**
* @return The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.
*
*/
public Optional pattern() {
return Optional.ofNullable(this.pattern);
}
/**
* @return The condition parameter of the RewriteRuleCondition.
*
*/
public Optional variable() {
return Optional.ofNullable(this.variable);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationGatewayRewriteRuleConditionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean ignoreCase;
private @Nullable Boolean negate;
private @Nullable String pattern;
private @Nullable String variable;
public Builder() {}
public Builder(ApplicationGatewayRewriteRuleConditionResponse defaults) {
Objects.requireNonNull(defaults);
this.ignoreCase = defaults.ignoreCase;
this.negate = defaults.negate;
this.pattern = defaults.pattern;
this.variable = defaults.variable;
}
@CustomType.Setter
public Builder ignoreCase(@Nullable Boolean ignoreCase) {
this.ignoreCase = ignoreCase;
return this;
}
@CustomType.Setter
public Builder negate(@Nullable Boolean negate) {
this.negate = negate;
return this;
}
@CustomType.Setter
public Builder pattern(@Nullable String pattern) {
this.pattern = pattern;
return this;
}
@CustomType.Setter
public Builder variable(@Nullable String variable) {
this.variable = variable;
return this;
}
public ApplicationGatewayRewriteRuleConditionResponse build() {
final var _resultValue = new ApplicationGatewayRewriteRuleConditionResponse();
_resultValue.ignoreCase = ignoreCase;
_resultValue.negate = negate;
_resultValue.pattern = pattern;
_resultValue.variable = variable;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy