de.otto.synapse.configuration.aws.AwsProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of synapse-aws-auth Show documentation
Show all versions of synapse-aws-auth Show documentation
AWS authentication for Synapse
The newest version!
package de.otto.synapse.configuration.aws;
import org.springframework.boot.context.properties.ConfigurationProperties;
import static software.amazon.awssdk.regions.Region.EU_CENTRAL_1;
@ConfigurationProperties(prefix = "synapse.aws")
public class AwsProperties {
private String region = EU_CENTRAL_1.id();
private String profile = "default";
public String getRegion() {
return region;
}
public void setRegion(final String region) {
this.region = region;
}
public String getProfile() {
return profile;
}
public void setProfile(final String profile) {
this.profile = profile;
}
@Override
public String toString() {
return "AwsProperties{" +
"region='" + region + '\'' +
", profile='" + profile + '\'' +
'}';
}
}