Package com.hazelcast.aws
Class AwsConfig
java.lang.Object
com.hazelcast.aws.AwsConfig
public final class AwsConfig extends Object
AWS Discovery Strategy configuration that corresponds to the properties passed in the Hazelcast configuration and listed in
AwsProperties
.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AwsConfig.Builder
-
Method Summary
Modifier and Type Method Description static AwsConfig.Builder
builder()
String
getAccessKey()
int
getConnectionRetries()
int
getConnectionTimeoutSeconds()
String
getHostHeader()
com.hazelcast.aws.PortRange
getHzPort()
String
getIamRole()
String
getRegion()
String
getSecretKey()
String
getSecurityGroupName()
String
getTagKey()
String
getTagValue()
void
setAccessKey(String accessKey)
Deprecated.It violates the immutability ofAwsConfig
.void
setIamRole(String iamRole)
Deprecated.It violates the immutability ofAwsConfig
.void
setSecretKey(String secretKey)
Deprecated.It violates the immutability ofAwsConfig
.String
toString()
-
Method Details
-
builder
-
getAccessKey
-
setAccessKey
Deprecated.It violates the immutability ofAwsConfig
.SetsaccessKey
. -
getSecretKey
-
setSecretKey
Deprecated.It violates the immutability ofAwsConfig
.SetssecretKey
. -
getRegion
-
getIamRole
-
setIamRole
Deprecated.It violates the immutability ofAwsConfig
.SetsiamRole
. -
getHostHeader
-
getSecurityGroupName
-
getTagKey
-
getTagValue
-
getConnectionTimeoutSeconds
public int getConnectionTimeoutSeconds() -
getConnectionRetries
public int getConnectionRetries() -
getHzPort
public com.hazelcast.aws.PortRange getHzPort() -
toString
-