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

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

// *** 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 GatewayRouteSpecHttpRouteActionTargetVirtualService {
    /**
     * @return Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
     * 
     */
    private String virtualServiceName;

    private GatewayRouteSpecHttpRouteActionTargetVirtualService() {}
    /**
     * @return Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length.
     * 
     */
    public String virtualServiceName() {
        return this.virtualServiceName;
    }

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy