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

com.pulumi.aws.appmesh.outputs.GatewayRouteSpecHttp2RouteActionRewrite 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.60.0-alpha.1731982519
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.GatewayRouteSpecHttp2RouteActionRewriteHostname;
import com.pulumi.aws.appmesh.outputs.GatewayRouteSpecHttp2RouteActionRewritePath;
import com.pulumi.aws.appmesh.outputs.GatewayRouteSpecHttp2RouteActionRewritePrefix;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GatewayRouteSpecHttp2RouteActionRewrite {
    /**
     * @return Host name to rewrite.
     * 
     */
    private @Nullable GatewayRouteSpecHttp2RouteActionRewriteHostname hostname;
    /**
     * @return Exact path to rewrite.
     * 
     */
    private @Nullable GatewayRouteSpecHttp2RouteActionRewritePath path;
    /**
     * @return Specified beginning characters to rewrite.
     * 
     */
    private @Nullable GatewayRouteSpecHttp2RouteActionRewritePrefix prefix;

    private GatewayRouteSpecHttp2RouteActionRewrite() {}
    /**
     * @return Host name to rewrite.
     * 
     */
    public Optional hostname() {
        return Optional.ofNullable(this.hostname);
    }
    /**
     * @return Exact path to rewrite.
     * 
     */
    public Optional path() {
        return Optional.ofNullable(this.path);
    }
    /**
     * @return Specified beginning characters to rewrite.
     * 
     */
    public Optional prefix() {
        return Optional.ofNullable(this.prefix);
    }

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

    public static Builder builder(GatewayRouteSpecHttp2RouteActionRewrite defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable GatewayRouteSpecHttp2RouteActionRewriteHostname hostname;
        private @Nullable GatewayRouteSpecHttp2RouteActionRewritePath path;
        private @Nullable GatewayRouteSpecHttp2RouteActionRewritePrefix prefix;
        public Builder() {}
        public Builder(GatewayRouteSpecHttp2RouteActionRewrite defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.hostname = defaults.hostname;
    	      this.path = defaults.path;
    	      this.prefix = defaults.prefix;
        }

        @CustomType.Setter
        public Builder hostname(@Nullable GatewayRouteSpecHttp2RouteActionRewriteHostname hostname) {

            this.hostname = hostname;
            return this;
        }
        @CustomType.Setter
        public Builder path(@Nullable GatewayRouteSpecHttp2RouteActionRewritePath path) {

            this.path = path;
            return this;
        }
        @CustomType.Setter
        public Builder prefix(@Nullable GatewayRouteSpecHttp2RouteActionRewritePrefix prefix) {

            this.prefix = prefix;
            return this;
        }
        public GatewayRouteSpecHttp2RouteActionRewrite build() {
            final var _resultValue = new GatewayRouteSpecHttp2RouteActionRewrite();
            _resultValue.hostname = hostname;
            _resultValue.path = path;
            _resultValue.prefix = prefix;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy