The following method :

void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

in : https://github.com/spring-cloud/spring-cloud-config/blob/c69b99a5997bcd74e0ee2c1abe4f86cc112b94b8/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/AwsS3EnvironmentProperties.java#L57

makes it impossible to load endpoint config from bootstrap.yml, since the setters are needed to fill the object attributes after it is created.

A solution would be to make it public like the other attributes in the same class:

public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }