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

com.pulumi.aws.appmesh.inputs.RouteSpecTcpRouteMatchArgs 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.inputs;

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


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

    public static final RouteSpecTcpRouteMatchArgs Empty = new RouteSpecTcpRouteMatchArgs();

    @Import(name="port")
    private @Nullable Output port;

    public Optional> port() {
        return Optional.ofNullable(this.port);
    }

    private RouteSpecTcpRouteMatchArgs() {}

    private RouteSpecTcpRouteMatchArgs(RouteSpecTcpRouteMatchArgs $) {
        this.port = $.port;
    }

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

    public static final class Builder {
        private RouteSpecTcpRouteMatchArgs $;

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

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

        public Builder port(@Nullable Output port) {
            $.port = port;
            return this;
        }

        public Builder port(Integer port) {
            return port(Output.of(port));
        }

        public RouteSpecTcpRouteMatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy