Class AwsCredentialsProperties.SpringCloudAwsRegionProperties

  • Enclosing class:
    AwsCredentialsProperties

    @ConfigurationProperties(prefix="cloud.aws.region")
    @Validated
    public static class AwsCredentialsProperties.SpringCloudAwsRegionProperties
    extends java.lang.Object
    Property bindings for Spring Cloud AWS region specific properties.

    Spring Cloud AWS doesn't come with properties bindings for their properties. So adding this for completeness.

    Since:
    4.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getStatic()
      Get the region.
      void setStatic​(java.lang.String newStatic)
      Set the static value for the region this instance is running in.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringCloudAwsRegionProperties

        public SpringCloudAwsRegionProperties()
    • Method Detail

      • getStatic

        public java.lang.String getStatic()
        Get the region.
        Returns:
        The region
      • setStatic

        public void setStatic​(java.lang.String newStatic)
        Set the static value for the region this instance is running in.
        Parameters:
        newStatic - The new static region value
        Throws:
        java.lang.IllegalArgumentException - When newStatic can't be parsed by Regions.fromName(String)