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

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

Go to download

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

There is a newer version: 6.66.3
Show 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.aws.appmesh.outputs.GetGatewayRouteSpecHttp2RouteMatchHeaderMatch;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetGatewayRouteSpecHttp2RouteMatchHeader {
    private Boolean invert;
    private List matches;
    /**
     * @return Name of the gateway route.
     * 
     */
    private String name;

    private GetGatewayRouteSpecHttp2RouteMatchHeader() {}
    public Boolean invert() {
        return this.invert;
    }
    public List matches() {
        return this.matches;
    }
    /**
     * @return Name of the gateway route.
     * 
     */
    public String name() {
        return this.name;
    }

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

    public static Builder builder(GetGatewayRouteSpecHttp2RouteMatchHeader defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean invert;
        private List matches;
        private String name;
        public Builder() {}
        public Builder(GetGatewayRouteSpecHttp2RouteMatchHeader defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.invert = defaults.invert;
    	      this.matches = defaults.matches;
    	      this.name = defaults.name;
        }

        @CustomType.Setter
        public Builder invert(Boolean invert) {
            if (invert == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteSpecHttp2RouteMatchHeader", "invert");
            }
            this.invert = invert;
            return this;
        }
        @CustomType.Setter
        public Builder matches(List matches) {
            if (matches == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteSpecHttp2RouteMatchHeader", "matches");
            }
            this.matches = matches;
            return this;
        }
        public Builder matches(GetGatewayRouteSpecHttp2RouteMatchHeaderMatch... matches) {
            return matches(List.of(matches));
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteSpecHttp2RouteMatchHeader", "name");
            }
            this.name = name;
            return this;
        }
        public GetGatewayRouteSpecHttp2RouteMatchHeader build() {
            final var _resultValue = new GetGatewayRouteSpecHttp2RouteMatchHeader();
            _resultValue.invert = invert;
            _resultValue.matches = matches;
            _resultValue.name = name;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy