com.pulumi.aws.appmesh.outputs.GetRouteSpecHttp2RouteMatchHeaderMatch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.appmesh.outputs;
import com.pulumi.aws.appmesh.outputs.GetRouteSpecHttp2RouteMatchHeaderMatchRange;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetRouteSpecHttp2RouteMatchHeaderMatch {
private String exact;
private String prefix;
private List ranges;
private String regex;
private String suffix;
private GetRouteSpecHttp2RouteMatchHeaderMatch() {}
public String exact() {
return this.exact;
}
public String prefix() {
return this.prefix;
}
public List ranges() {
return this.ranges;
}
public String regex() {
return this.regex;
}
public String suffix() {
return this.suffix;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRouteSpecHttp2RouteMatchHeaderMatch defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String exact;
private String prefix;
private List ranges;
private String regex;
private String suffix;
public Builder() {}
public Builder(GetRouteSpecHttp2RouteMatchHeaderMatch defaults) {
Objects.requireNonNull(defaults);
this.exact = defaults.exact;
this.prefix = defaults.prefix;
this.ranges = defaults.ranges;
this.regex = defaults.regex;
this.suffix = defaults.suffix;
}
@CustomType.Setter
public Builder exact(String exact) {
if (exact == null) {
throw new MissingRequiredPropertyException("GetRouteSpecHttp2RouteMatchHeaderMatch", "exact");
}
this.exact = exact;
return this;
}
@CustomType.Setter
public Builder prefix(String prefix) {
if (prefix == null) {
throw new MissingRequiredPropertyException("GetRouteSpecHttp2RouteMatchHeaderMatch", "prefix");
}
this.prefix = prefix;
return this;
}
@CustomType.Setter
public Builder ranges(List ranges) {
if (ranges == null) {
throw new MissingRequiredPropertyException("GetRouteSpecHttp2RouteMatchHeaderMatch", "ranges");
}
this.ranges = ranges;
return this;
}
public Builder ranges(GetRouteSpecHttp2RouteMatchHeaderMatchRange... ranges) {
return ranges(List.of(ranges));
}
@CustomType.Setter
public Builder regex(String regex) {
if (regex == null) {
throw new MissingRequiredPropertyException("GetRouteSpecHttp2RouteMatchHeaderMatch", "regex");
}
this.regex = regex;
return this;
}
@CustomType.Setter
public Builder suffix(String suffix) {
if (suffix == null) {
throw new MissingRequiredPropertyException("GetRouteSpecHttp2RouteMatchHeaderMatch", "suffix");
}
this.suffix = suffix;
return this;
}
public GetRouteSpecHttp2RouteMatchHeaderMatch build() {
final var _resultValue = new GetRouteSpecHttp2RouteMatchHeaderMatch();
_resultValue.exact = exact;
_resultValue.prefix = prefix;
_resultValue.ranges = ranges;
_resultValue.regex = regex;
_resultValue.suffix = suffix;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy