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

de.otto.edison.aws.configuration.AwsProperties Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version
package de.otto.edison.aws.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;

import static software.amazon.awssdk.core.regions.Region.EU_CENTRAL_1;

@ConfigurationProperties(prefix = "aws")
public class AwsProperties {

    private String region = EU_CENTRAL_1.value();
    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 + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy