Class URLMapState.Builder

  • Enclosing class:
    URLMapState

    public static final class URLMapState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • creationTimestamp

        public URLMapState.Builder creationTimestamp​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> creationTimestamp)
        Parameters:
        creationTimestamp - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • creationTimestamp

        public URLMapState.Builder creationTimestamp​(java.lang.String creationTimestamp)
        Parameters:
        creationTimestamp - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • defaultRouteAction

        public URLMapState.Builder defaultRouteAction​(@Nullable
                                                      com.pulumi.core.Output<URLMapDefaultRouteActionArgs> defaultRouteAction)
        Parameters:
        defaultRouteAction - defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. Structure is documented below.
        Returns:
        builder
      • defaultRouteAction

        public URLMapState.Builder defaultRouteAction​(URLMapDefaultRouteActionArgs defaultRouteAction)
        Parameters:
        defaultRouteAction - defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. Structure is documented below.
        Returns:
        builder
      • defaultService

        public URLMapState.Builder defaultService​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> defaultService)
        Parameters:
        defaultService - The backend service or backend bucket to use when none of the given rules match.
        Returns:
        builder
      • defaultService

        public URLMapState.Builder defaultService​(java.lang.String defaultService)
        Parameters:
        defaultService - The backend service or backend bucket to use when none of the given rules match.
        Returns:
        builder
      • defaultUrlRedirect

        public URLMapState.Builder defaultUrlRedirect​(@Nullable
                                                      com.pulumi.core.Output<URLMapDefaultUrlRedirectArgs> defaultUrlRedirect)
        Parameters:
        defaultUrlRedirect - When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Structure is documented below.
        Returns:
        builder
      • defaultUrlRedirect

        public URLMapState.Builder defaultUrlRedirect​(URLMapDefaultUrlRedirectArgs defaultUrlRedirect)
        Parameters:
        defaultUrlRedirect - When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Structure is documented below.
        Returns:
        builder
      • description

        public URLMapState.Builder description​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - An optional description of this resource. Provide this property when you create the resource.
        Returns:
        builder
      • description

        public URLMapState.Builder description​(java.lang.String description)
        Parameters:
        description - An optional description of this resource. Provide this property when you create the resource.
        Returns:
        builder
      • fingerprint

        public URLMapState.Builder fingerprint​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> fingerprint)
        Parameters:
        fingerprint - Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
        Returns:
        builder
      • fingerprint

        public URLMapState.Builder fingerprint​(java.lang.String fingerprint)
        Parameters:
        fingerprint - Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
        Returns:
        builder
      • headerAction

        public URLMapState.Builder headerAction​(@Nullable
                                                com.pulumi.core.Output<URLMapHeaderActionArgs> headerAction)
        Parameters:
        headerAction - Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. Structure is documented below.
        Returns:
        builder
      • headerAction

        public URLMapState.Builder headerAction​(URLMapHeaderActionArgs headerAction)
        Parameters:
        headerAction - Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. Structure is documented below.
        Returns:
        builder
      • hostRules

        public URLMapState.Builder hostRules​(@Nullable
                                             com.pulumi.core.Output<java.util.List<URLMapHostRuleArgs>> hostRules)
        Parameters:
        hostRules - The list of HostRules to use against the URL. Structure is documented below.
        Returns:
        builder
      • hostRules

        public URLMapState.Builder hostRules​(java.util.List<URLMapHostRuleArgs> hostRules)
        Parameters:
        hostRules - The list of HostRules to use against the URL. Structure is documented below.
        Returns:
        builder
      • hostRules

        public URLMapState.Builder hostRules​(URLMapHostRuleArgs... hostRules)
        Parameters:
        hostRules - The list of HostRules to use against the URL. Structure is documented below.
        Returns:
        builder
      • mapId

        public URLMapState.Builder mapId​(@Nullable
                                         com.pulumi.core.Output<java.lang.Integer> mapId)
        Parameters:
        mapId - The unique identifier for the resource.
        Returns:
        builder
      • mapId

        public URLMapState.Builder mapId​(java.lang.Integer mapId)
        Parameters:
        mapId - The unique identifier for the resource.
        Returns:
        builder
      • name

        public URLMapState.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. ***
        Returns:
        builder
      • name

        public URLMapState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. ***
        Returns:
        builder
      • pathMatchers

        public URLMapState.Builder pathMatchers​(@Nullable
                                                com.pulumi.core.Output<java.util.List<URLMapPathMatcherArgs>> pathMatchers)
        Parameters:
        pathMatchers - The list of named PathMatchers to use against the URL. Structure is documented below.
        Returns:
        builder
      • pathMatchers

        public URLMapState.Builder pathMatchers​(java.util.List<URLMapPathMatcherArgs> pathMatchers)
        Parameters:
        pathMatchers - The list of named PathMatchers to use against the URL. Structure is documented below.
        Returns:
        builder
      • pathMatchers

        public URLMapState.Builder pathMatchers​(URLMapPathMatcherArgs... pathMatchers)
        Parameters:
        pathMatchers - The list of named PathMatchers to use against the URL. Structure is documented below.
        Returns:
        builder
      • project

        public URLMapState.Builder project​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public URLMapState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • selfLink

        public URLMapState.Builder selfLink​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • selfLink

        public URLMapState.Builder selfLink​(java.lang.String selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • tests

        public URLMapState.Builder tests​(@Nullable
                                         com.pulumi.core.Output<java.util.List<URLMapTestArgs>> tests)
        Parameters:
        tests - The list of expected URL mapping tests. Request to update this UrlMap will succeed only if all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. Structure is documented below.
        Returns:
        builder
      • tests

        public URLMapState.Builder tests​(java.util.List<URLMapTestArgs> tests)
        Parameters:
        tests - The list of expected URL mapping tests. Request to update this UrlMap will succeed only if all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. Structure is documented below.
        Returns:
        builder
      • tests

        public URLMapState.Builder tests​(URLMapTestArgs... tests)
        Parameters:
        tests - The list of expected URL mapping tests. Request to update this UrlMap will succeed only if all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. Structure is documented below.
        Returns:
        builder