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

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

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 + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy