public class SignInDistribution
extends java.lang.Object
implements java.io.Serializable
The distribution of sign in traffic between the instance and its replica(s).
| Constructor and Description |
|---|
SignInDistribution() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEnabled()
Whether sign in distribution is enabled.
|
java.lang.String |
getRegion()
The Amazon Web Services Region of the sign in distribution.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Whether sign in distribution is enabled.
|
void |
setEnabled(java.lang.Boolean enabled)
Whether sign in distribution is enabled.
|
void |
setRegion(java.lang.String region)
The Amazon Web Services Region of the sign in distribution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SignInDistribution |
withEnabled(java.lang.Boolean enabled)
Whether sign in distribution is enabled.
|
SignInDistribution |
withRegion(java.lang.String region)
The Amazon Web Services Region of the sign in distribution.
|
public java.lang.String getRegion()
The Amazon Web Services Region of the sign in distribution.
Constraints:
Length: 8 - 31
Pattern: [a-z]{2}(-[a-z]+){1,2}(-[0-9])?
The Amazon Web Services Region of the sign in distribution.
public void setRegion(java.lang.String region)
The Amazon Web Services Region of the sign in distribution.
Constraints:
Length: 8 - 31
Pattern: [a-z]{2}(-[a-z]+){1,2}(-[0-9])?
region - The Amazon Web Services Region of the sign in distribution.
public SignInDistribution withRegion(java.lang.String region)
The Amazon Web Services Region of the sign in distribution.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 8 - 31
Pattern: [a-z]{2}(-[a-z]+){1,2}(-[0-9])?
region - The Amazon Web Services Region of the sign in distribution.
public java.lang.Boolean isEnabled()
Whether sign in distribution is enabled.
Whether sign in distribution is enabled.
public java.lang.Boolean getEnabled()
Whether sign in distribution is enabled.
Whether sign in distribution is enabled.
public void setEnabled(java.lang.Boolean enabled)
Whether sign in distribution is enabled.
enabled - Whether sign in distribution is enabled.
public SignInDistribution withEnabled(java.lang.Boolean enabled)
Whether sign in distribution is enabled.
Returns a reference to this object so that method calls can be chained together.
enabled - Whether sign in distribution is enabled.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object