All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.appmesh.outputs.GetRouteSpecHttp2RouteMatchPath Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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 GetRouteSpecHttp2RouteMatchPath {
    private String exact;
    private String regex;

    private GetRouteSpecHttp2RouteMatchPath() {}
    public String exact() {
        return this.exact;
    }
    public String regex() {
        return this.regex;
    }

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

    public static Builder builder(GetRouteSpecHttp2RouteMatchPath defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String exact;
        private String regex;
        public Builder() {}
        public Builder(GetRouteSpecHttp2RouteMatchPath defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.exact = defaults.exact;
    	      this.regex = defaults.regex;
        }

        @CustomType.Setter
        public Builder exact(String exact) {
            if (exact == null) {
              throw new MissingRequiredPropertyException("GetRouteSpecHttp2RouteMatchPath", "exact");
            }
            this.exact = exact;
            return this;
        }
        @CustomType.Setter
        public Builder regex(String regex) {
            if (regex == null) {
              throw new MissingRequiredPropertyException("GetRouteSpecHttp2RouteMatchPath", "regex");
            }
            this.regex = regex;
            return this;
        }
        public GetRouteSpecHttp2RouteMatchPath build() {
            final var _resultValue = new GetRouteSpecHttp2RouteMatchPath();
            _resultValue.exact = exact;
            _resultValue.regex = regex;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy