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

com.pulumi.googlenative.appengine.v1beta.outputs.UrlDispatchRuleResponse 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.googlenative.appengine.v1beta.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class UrlDispatchRuleResponse {
    /**
     * @return Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*".
     * 
     */
    private String domain;
    /**
     * @return Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.
     * 
     */
    private String path;
    /**
     * @return Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
     * 
     */
    private String service;

    private UrlDispatchRuleResponse() {}
    /**
     * @return Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*".
     * 
     */
    public String domain() {
        return this.domain;
    }
    /**
     * @return Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.
     * 
     */
    public String path() {
        return this.path;
    }
    /**
     * @return Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
     * 
     */
    public String service() {
        return this.service;
    }

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

    public static Builder builder(UrlDispatchRuleResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String domain;
        private String path;
        private String service;
        public Builder() {}
        public Builder(UrlDispatchRuleResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.domain = defaults.domain;
    	      this.path = defaults.path;
    	      this.service = defaults.service;
        }

        @CustomType.Setter
        public Builder domain(String domain) {
            this.domain = Objects.requireNonNull(domain);
            return this;
        }
        @CustomType.Setter
        public Builder path(String path) {
            this.path = Objects.requireNonNull(path);
            return this;
        }
        @CustomType.Setter
        public Builder service(String service) {
            this.service = Objects.requireNonNull(service);
            return this;
        }
        public UrlDispatchRuleResponse build() {
            final var o = new UrlDispatchRuleResponse();
            o.domain = domain;
            o.path = path;
            o.service = service;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy