Class GetEnrichmentAddressRequest.Builder

    • Method Detail

      • includeZipcodes

        public GetEnrichmentAddressRequest.Builder includeZipcodes​(java.util.Optional<java.lang.String> includeZipcodes)
        Limits results to a list of given zipcodes.
      • excludeStates

        public GetEnrichmentAddressRequest.Builder excludeStates​(java.lang.String excludeStates)
        Exclude list of states from results. No `include` pararmeters may be used with this parameter.
      • excludeStates

        public GetEnrichmentAddressRequest.Builder excludeStates​(java.util.Optional<java.lang.String> excludeStates)
        Exclude list of states from results. No `include` pararmeters may be used with this parameter.
      • preferCities

        public GetEnrichmentAddressRequest.Builder preferCities​(java.util.Optional<java.lang.String> preferCities)
        Display results with the listed cities at the top.
      • preferStates

        public GetEnrichmentAddressRequest.Builder preferStates​(java.util.Optional<java.lang.String> preferStates)
        Display results with the listed states at the top.
      • preferZipcodes

        public GetEnrichmentAddressRequest.Builder preferZipcodes​(java.util.Optional<java.lang.String> preferZipcodes)
        Display results with the listed zipcodes at the top.
      • preferRatio

        public GetEnrichmentAddressRequest.Builder preferRatio​(long preferRatio)
        Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.
      • preferRatio

        public GetEnrichmentAddressRequest.Builder preferRatio​(java.util.Optional<java.lang.Long> preferRatio)
        Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.
      • preferGeolocation

        public GetEnrichmentAddressRequest.Builder preferGeolocation​(java.lang.String preferGeolocation)
        If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state to the preferCities value. This parameter takes precedence over other `include` or `exclude` parameters meaning that if it is not set to `none`, you may see addresses from areas you do not wish to see.
      • preferGeolocation

        public GetEnrichmentAddressRequest.Builder preferGeolocation​(java.util.Optional<java.lang.String> preferGeolocation)
        If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state to the preferCities value. This parameter takes precedence over other `include` or `exclude` parameters meaning that if it is not set to `none`, you may see addresses from areas you do not wish to see.
      • selected

        public GetEnrichmentAddressRequest.Builder selected​(java.lang.String selected)
        Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).
      • selected

        public GetEnrichmentAddressRequest.Builder selected​(java.util.Optional<java.lang.String> selected)
        Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).
      • source

        public GetEnrichmentAddressRequest.Builder source​(java.lang.String source)
        Include results from alternate data sources. Allowed values are `all` (non-postal addresses), or `postal` (postal addresses only).
      • source

        public GetEnrichmentAddressRequest.Builder source​(java.util.Optional<java.lang.String> source)
        Include results from alternate data sources. Allowed values are `all` (non-postal addresses), or `postal` (postal addresses only).