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

com.github.davidmoten.aws.lw.client.BaseUrlFactory Maven / Gradle / Ivy

Go to download

Lightweight client for all AWS services (but still with useful builders and XML parser)

The newest version!
package com.github.davidmoten.aws.lw.client;

import java.util.Optional;

@FunctionalInterface
public interface BaseUrlFactory {

    String create(String serviceName, Optional region);

    public static final BaseUrlFactory DEFAULT = (serviceName, region) -> "https://" //
            + serviceName //
            + region.map(x -> "." + x).orElse("") //
            + ".amazonaws.com/";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy