// *** 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.vpclattice.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 ListenerRuleMatchHttpMatchPathMatchMatchArgs extends com.pulumi.resources.ResourceArgs {

    public static final ListenerRuleMatchHttpMatchPathMatchMatchArgs Empty = new ListenerRuleMatchHttpMatchPathMatchMatchArgs();

    /**
     * Specifies an exact type match.
     * 
     */
    @Import(name="exact")
    private @Nullable Output<String> exact;

    /**
     * @return Specifies an exact type match.
     * 
     */
    public Optional<Output<String>> exact() {
        return Optional.ofNullable(this.exact);
    }

    /**
     * Specifies a prefix type match. Matches the value with the prefix.
     * 
     */
    @Import(name="prefix")
    private @Nullable Output<String> prefix;

    /**
     * @return Specifies a prefix type match. Matches the value with the prefix.
     * 
     */
    public Optional<Output<String>> prefix() {
        return Optional.ofNullable(this.prefix);
    }

    private ListenerRuleMatchHttpMatchPathMatchMatchArgs() {}

    private ListenerRuleMatchHttpMatchPathMatchMatchArgs(ListenerRuleMatchHttpMatchPathMatchMatchArgs $) {
        this.exact = $.exact;
        this.prefix = $.prefix;
    }

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

    public static final class Builder {
        private ListenerRuleMatchHttpMatchPathMatchMatchArgs $;

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

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

        /**
         * @param exact Specifies an exact type match.
         * 
         * @return builder
         * 
         */
        public Builder exact(@Nullable Output<String> exact) {
            $.exact = exact;
            return this;
        }

        /**
         * @param exact Specifies an exact type match.
         * 
         * @return builder
         * 
         */
        public Builder exact(String exact) {
            return exact(Output.of(exact));
        }

        /**
         * @param prefix Specifies a prefix type match. Matches the value with the prefix.
         * 
         * @return builder
         * 
         */
        public Builder prefix(@Nullable Output<String> prefix) {
            $.prefix = prefix;
            return this;
        }

        /**
         * @param prefix Specifies a prefix type match. Matches the value with the prefix.
         * 
         * @return builder
         * 
         */
        public Builder prefix(String prefix) {
            return prefix(Output.of(prefix));
        }

        public ListenerRuleMatchHttpMatchPathMatchMatchArgs build() {
            return $;
        }
    }

}
