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

target.apidocs.com.google.api.services.compute.model.HostRule.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250107-2.0.0
Show newest version






HostRule (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class HostRule

    • Constructor Detail

      • HostRule

        public HostRule()
    • Method Detail

      • getDescription

        public String getDescription()
        An optional description of this resource. Provide this property when you create the resource.
        Returns:
        value or null for none
      • setDescription

        public HostRule setDescription(String description)
        An optional description of this resource. Provide this property when you create the resource.
        Parameters:
        description - description or null for none
      • getHosts

        public List<String> getHosts()
        The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character and must be followed in the pattern by either - or ..
        Returns:
        value or null for none
      • setHosts

        public HostRule setHosts(List<String> hosts)
        The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character and must be followed in the pattern by either - or ..
        Parameters:
        hosts - hosts or null for none
      • getPathMatcher

        public String getPathMatcher()
        The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
        Returns:
        value or null for none
      • setPathMatcher

        public HostRule setPathMatcher(String pathMatcher)
        The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
        Parameters:
        pathMatcher - pathMatcher or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy