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

com.github.davidmoten.aws.lw.client.internal.Environment 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.internal;

import com.github.davidmoten.aws.lw.client.Credentials;
import com.github.davidmoten.aws.lw.client.HttpClient;

@FunctionalInterface
public interface Environment {

    String get(String name);

    default Credentials credentials() {
        return CredentialsHelper.credentialsFromEnvironment(this, HttpClient.defaultClient());
    }

    static Environment instance() {
        return EnvironmentDefault.INSTANCE;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy