// *** 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GatewayRouteSpecHttp2RouteMatchHostnameArgs extends com.pulumi.resources.ResourceArgs {

    public static final GatewayRouteSpecHttp2RouteMatchHostnameArgs Empty = new GatewayRouteSpecHttp2RouteMatchHostnameArgs();

    /**
     * Exact host name to match on.
     * 
     */
    @Import(name="exact")
    private @Nullable Output<String> exact;

    /**
     * @return Exact host name to match on.
     * 
     */
    public Optional<Output<String>> exact() {
        return Optional.ofNullable(this.exact);
    }

    /**
     * Specified ending characters of the host name to match on.
     * 
     */
    @Import(name="suffix")
    private @Nullable Output<String> suffix;

    /**
     * @return Specified ending characters of the host name to match on.
     * 
     */
    public Optional<Output<String>> suffix() {
        return Optional.ofNullable(this.suffix);
    }

    private GatewayRouteSpecHttp2RouteMatchHostnameArgs() {}

    private GatewayRouteSpecHttp2RouteMatchHostnameArgs(GatewayRouteSpecHttp2RouteMatchHostnameArgs $) {
        this.exact = $.exact;
        this.suffix = $.suffix;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GatewayRouteSpecHttp2RouteMatchHostnameArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GatewayRouteSpecHttp2RouteMatchHostnameArgs $;

        public Builder() {
            $ = new GatewayRouteSpecHttp2RouteMatchHostnameArgs();
        }

        public Builder(GatewayRouteSpecHttp2RouteMatchHostnameArgs defaults) {
            $ = new GatewayRouteSpecHttp2RouteMatchHostnameArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param exact Exact host name to match on.
         * 
         * @return builder
         * 
         */
        public Builder exact(@Nullable Output<String> exact) {
            $.exact = exact;
            return this;
        }

        /**
         * @param exact Exact host name to match on.
         * 
         * @return builder
         * 
         */
        public Builder exact(String exact) {
            return exact(Output.of(exact));
        }

        /**
         * @param suffix Specified ending characters of the host name to match on.
         * 
         * @return builder
         * 
         */
        public Builder suffix(@Nullable Output<String> suffix) {
            $.suffix = suffix;
            return this;
        }

        /**
         * @param suffix Specified ending characters of the host name to match on.
         * 
         * @return builder
         * 
         */
        public Builder suffix(String suffix) {
            return suffix(Output.of(suffix));
        }

        public GatewayRouteSpecHttp2RouteMatchHostnameArgs build() {
            return $;
        }
    }

}
