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

com.pulumi.aws.appmesh.outputs.GetRouteSpecHttpRouteTimeout 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.GetRouteSpecHttpRouteTimeoutIdle;
import com.pulumi.aws.appmesh.outputs.GetRouteSpecHttpRouteTimeoutPerRequest;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetRouteSpecHttpRouteTimeout {
    private List idles;
    private List perRequests;

    private GetRouteSpecHttpRouteTimeout() {}
    public List idles() {
        return this.idles;
    }
    public List perRequests() {
        return this.perRequests;
    }

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

    public static Builder builder(GetRouteSpecHttpRouteTimeout defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List idles;
        private List perRequests;
        public Builder() {}
        public Builder(GetRouteSpecHttpRouteTimeout defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.idles = defaults.idles;
    	      this.perRequests = defaults.perRequests;
        }

        @CustomType.Setter
        public Builder idles(List idles) {
            if (idles == null) {
              throw new MissingRequiredPropertyException("GetRouteSpecHttpRouteTimeout", "idles");
            }
            this.idles = idles;
            return this;
        }
        public Builder idles(GetRouteSpecHttpRouteTimeoutIdle... idles) {
            return idles(List.of(idles));
        }
        @CustomType.Setter
        public Builder perRequests(List perRequests) {
            if (perRequests == null) {
              throw new MissingRequiredPropertyException("GetRouteSpecHttpRouteTimeout", "perRequests");
            }
            this.perRequests = perRequests;
            return this;
        }
        public Builder perRequests(GetRouteSpecHttpRouteTimeoutPerRequest... perRequests) {
            return perRequests(List.of(perRequests));
        }
        public GetRouteSpecHttpRouteTimeout build() {
            final var _resultValue = new GetRouteSpecHttpRouteTimeout();
            _resultValue.idles = idles;
            _resultValue.perRequests = perRequests;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy