com.pulumi.cloudflare.outputs.PageRuleActionsCacheKeyFieldsHost 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.cloudflare.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PageRuleActionsCacheKeyFieldsHost {
/**
* @return `false` (default) - includes the Host header in the HTTP request sent to the origin; `true` - includes the Host header that was resolved to get the origin IP for the request (e.g. changed with Resolve Override Page Rule).
*
*/
private @Nullable Boolean resolved;
private PageRuleActionsCacheKeyFieldsHost() {}
/**
* @return `false` (default) - includes the Host header in the HTTP request sent to the origin; `true` - includes the Host header that was resolved to get the origin IP for the request (e.g. changed with Resolve Override Page Rule).
*
*/
public Optional resolved() {
return Optional.ofNullable(this.resolved);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PageRuleActionsCacheKeyFieldsHost defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean resolved;
public Builder() {}
public Builder(PageRuleActionsCacheKeyFieldsHost defaults) {
Objects.requireNonNull(defaults);
this.resolved = defaults.resolved;
}
@CustomType.Setter
public Builder resolved(@Nullable Boolean resolved) {
this.resolved = resolved;
return this;
}
public PageRuleActionsCacheKeyFieldsHost build() {
final var o = new PageRuleActionsCacheKeyFieldsHost();
o.resolved = resolved;
return o;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy