
com.pulumi.aws.appmesh.outputs.GetGatewayRouteSpecHttp2RouteMatchHostname 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.aws.appmesh.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetGatewayRouteSpecHttp2RouteMatchHostname {
private String exact;
private String suffix;
private GetGatewayRouteSpecHttp2RouteMatchHostname() {}
public String exact() {
return this.exact;
}
public String suffix() {
return this.suffix;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGatewayRouteSpecHttp2RouteMatchHostname defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String exact;
private String suffix;
public Builder() {}
public Builder(GetGatewayRouteSpecHttp2RouteMatchHostname defaults) {
Objects.requireNonNull(defaults);
this.exact = defaults.exact;
this.suffix = defaults.suffix;
}
@CustomType.Setter
public Builder exact(String exact) {
if (exact == null) {
throw new MissingRequiredPropertyException("GetGatewayRouteSpecHttp2RouteMatchHostname", "exact");
}
this.exact = exact;
return this;
}
@CustomType.Setter
public Builder suffix(String suffix) {
if (suffix == null) {
throw new MissingRequiredPropertyException("GetGatewayRouteSpecHttp2RouteMatchHostname", "suffix");
}
this.suffix = suffix;
return this;
}
public GetGatewayRouteSpecHttp2RouteMatchHostname build() {
final var _resultValue = new GetGatewayRouteSpecHttp2RouteMatchHostname();
_resultValue.exact = exact;
_resultValue.suffix = suffix;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy