com.pulumi.aws.appmesh.outputs.GatewayRouteSpecHttp2RouteMatchHostname 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GatewayRouteSpecHttp2RouteMatchHostname {
/**
* @return Exact host name to match on.
*
*/
private @Nullable String exact;
/**
* @return Specified ending characters of the host name to match on.
*
*/
private @Nullable String suffix;
private GatewayRouteSpecHttp2RouteMatchHostname() {}
/**
* @return Exact host name to match on.
*
*/
public Optional exact() {
return Optional.ofNullable(this.exact);
}
/**
* @return Specified ending characters of the host name to match on.
*
*/
public Optional suffix() {
return Optional.ofNullable(this.suffix);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GatewayRouteSpecHttp2RouteMatchHostname defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String exact;
private @Nullable String suffix;
public Builder() {}
public Builder(GatewayRouteSpecHttp2RouteMatchHostname defaults) {
Objects.requireNonNull(defaults);
this.exact = defaults.exact;
this.suffix = defaults.suffix;
}
@CustomType.Setter
public Builder exact(@Nullable String exact) {
this.exact = exact;
return this;
}
@CustomType.Setter
public Builder suffix(@Nullable String suffix) {
this.suffix = suffix;
return this;
}
public GatewayRouteSpecHttp2RouteMatchHostname build() {
final var _resultValue = new GatewayRouteSpecHttp2RouteMatchHostname();
_resultValue.exact = exact;
_resultValue.suffix = suffix;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy