Package com.netflix.genie.web.properties
Class AwsCredentialsProperties.SpringCloudAwsRegionProperties
- java.lang.Object
-
- com.netflix.genie.web.properties.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
-
-
Constructor Summary
Constructors Constructor Description SpringCloudAwsRegionProperties()
-
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.
-
-
-
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 byRegions.fromName(String)
-
-