com.github.davidmoten.aws.lw.client.internal.Environment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-lightweight-client-java Show documentation
Show all versions of aws-lightweight-client-java Show documentation
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