public class RadiusSettings extends Object implements Serializable, Cloneable
Contains information about a Remote Authentication Dial In User Service (RADIUS) server.
| Constructor and Description |
|---|
RadiusSettings() |
| Modifier and Type | Method and Description |
|---|---|
RadiusSettings |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticationProtocol()
The protocol specified for your RADIUS endpoints.
|
String |
getDisplayLabel()
Not currently used.
|
Integer |
getRadiusPort()
The port that your RADIUS server is using for communications.
|
Integer |
getRadiusRetries()
The maximum number of times that communication with the RADIUS server
is attempted.
|
List<String> |
getRadiusServers()
An array of strings that contains the IP addresses of the RADIUS
server endpoints, or the IP addresses of your RADIUS server load
balancer.
|
Integer |
getRadiusTimeout()
The amount of time, in seconds, to wait for the RADIUS server to
respond.
|
String |
getSharedSecret()
The shared secret code that was specified when your RADIUS endpoints
were created.
|
Boolean |
getUseSameUsername()
Not currently used.
|
int |
hashCode() |
Boolean |
isUseSameUsername()
Not currently used.
|
void |
setAuthenticationProtocol(RadiusAuthenticationProtocol authenticationProtocol)
The protocol specified for your RADIUS endpoints.
|
void |
setAuthenticationProtocol(String authenticationProtocol)
The protocol specified for your RADIUS endpoints.
|
void |
setDisplayLabel(String displayLabel)
Not currently used.
|
void |
setRadiusPort(Integer radiusPort)
The port that your RADIUS server is using for communications.
|
void |
setRadiusRetries(Integer radiusRetries)
The maximum number of times that communication with the RADIUS server
is attempted.
|
void |
setRadiusServers(Collection<String> radiusServers)
An array of strings that contains the IP addresses of the RADIUS
server endpoints, or the IP addresses of your RADIUS server load
balancer.
|
void |
setRadiusTimeout(Integer radiusTimeout)
The amount of time, in seconds, to wait for the RADIUS server to
respond.
|
void |
setSharedSecret(String sharedSecret)
The shared secret code that was specified when your RADIUS endpoints
were created.
|
void |
setUseSameUsername(Boolean useSameUsername)
Not currently used.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RadiusSettings |
withAuthenticationProtocol(RadiusAuthenticationProtocol authenticationProtocol)
The protocol specified for your RADIUS endpoints.
|
RadiusSettings |
withAuthenticationProtocol(String authenticationProtocol)
The protocol specified for your RADIUS endpoints.
|
RadiusSettings |
withDisplayLabel(String displayLabel)
Not currently used.
|
RadiusSettings |
withRadiusPort(Integer radiusPort)
The port that your RADIUS server is using for communications.
|
RadiusSettings |
withRadiusRetries(Integer radiusRetries)
The maximum number of times that communication with the RADIUS server
is attempted.
|
RadiusSettings |
withRadiusServers(Collection<String> radiusServers)
An array of strings that contains the IP addresses of the RADIUS
server endpoints, or the IP addresses of your RADIUS server load
balancer.
|
RadiusSettings |
withRadiusServers(String... radiusServers)
An array of strings that contains the IP addresses of the RADIUS
server endpoints, or the IP addresses of your RADIUS server load
balancer.
|
RadiusSettings |
withRadiusTimeout(Integer radiusTimeout)
The amount of time, in seconds, to wait for the RADIUS server to
respond.
|
RadiusSettings |
withSharedSecret(String sharedSecret)
The shared secret code that was specified when your RADIUS endpoints
were created.
|
RadiusSettings |
withUseSameUsername(Boolean useSameUsername)
Not currently used.
|
public List<String> getRadiusServers()
public void setRadiusServers(Collection<String> radiusServers)
radiusServers - An array of strings that contains the IP addresses of the RADIUS
server endpoints, or the IP addresses of your RADIUS server load
balancer.public RadiusSettings withRadiusServers(String... radiusServers)
NOTE: This method appends the values to the existing list (if
any). Use setRadiusServers(java.util.Collection) or withRadiusServers(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
radiusServers - An array of strings that contains the IP addresses of the RADIUS
server endpoints, or the IP addresses of your RADIUS server load
balancer.public RadiusSettings withRadiusServers(Collection<String> radiusServers)
Returns a reference to this object so that method calls can be chained together.
radiusServers - An array of strings that contains the IP addresses of the RADIUS
server endpoints, or the IP addresses of your RADIUS server load
balancer.public Integer getRadiusPort()
Constraints:
Range: 1025 - 65535
public void setRadiusPort(Integer radiusPort)
Constraints:
Range: 1025 - 65535
radiusPort - The port that your RADIUS server is using for communications. Your
on-premises network must allow inbound traffic over this port from the
AWS Directory Service servers.public RadiusSettings withRadiusPort(Integer radiusPort)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1025 - 65535
radiusPort - The port that your RADIUS server is using for communications. Your
on-premises network must allow inbound traffic over this port from the
AWS Directory Service servers.public Integer getRadiusTimeout()
Constraints:
Range: 1 - 20
public void setRadiusTimeout(Integer radiusTimeout)
Constraints:
Range: 1 - 20
radiusTimeout - The amount of time, in seconds, to wait for the RADIUS server to
respond.public RadiusSettings withRadiusTimeout(Integer radiusTimeout)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 20
radiusTimeout - The amount of time, in seconds, to wait for the RADIUS server to
respond.public Integer getRadiusRetries()
Constraints:
Range: 0 - 10
public void setRadiusRetries(Integer radiusRetries)
Constraints:
Range: 0 - 10
radiusRetries - The maximum number of times that communication with the RADIUS server
is attempted.public RadiusSettings withRadiusRetries(Integer radiusRetries)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 10
radiusRetries - The maximum number of times that communication with the RADIUS server
is attempted.public String getSharedSecret()
Constraints:
Length: 8 - 512
public void setSharedSecret(String sharedSecret)
Constraints:
Length: 8 - 512
sharedSecret - The shared secret code that was specified when your RADIUS endpoints
were created.public RadiusSettings withSharedSecret(String sharedSecret)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 8 - 512
sharedSecret - The shared secret code that was specified when your RADIUS endpoints
were created.public String getAuthenticationProtocol()
Constraints:
Allowed Values: PAP, CHAP, MS-CHAPv1, MS-CHAPv2
RadiusAuthenticationProtocolpublic void setAuthenticationProtocol(String authenticationProtocol)
Constraints:
Allowed Values: PAP, CHAP, MS-CHAPv1, MS-CHAPv2
authenticationProtocol - The protocol specified for your RADIUS endpoints.RadiusAuthenticationProtocolpublic RadiusSettings withAuthenticationProtocol(String authenticationProtocol)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PAP, CHAP, MS-CHAPv1, MS-CHAPv2
authenticationProtocol - The protocol specified for your RADIUS endpoints.RadiusAuthenticationProtocolpublic void setAuthenticationProtocol(RadiusAuthenticationProtocol authenticationProtocol)
Constraints:
Allowed Values: PAP, CHAP, MS-CHAPv1, MS-CHAPv2
authenticationProtocol - The protocol specified for your RADIUS endpoints.RadiusAuthenticationProtocolpublic RadiusSettings withAuthenticationProtocol(RadiusAuthenticationProtocol authenticationProtocol)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PAP, CHAP, MS-CHAPv1, MS-CHAPv2
authenticationProtocol - The protocol specified for your RADIUS endpoints.RadiusAuthenticationProtocolpublic String getDisplayLabel()
Constraints:
Length: 1 - 64
public void setDisplayLabel(String displayLabel)
Constraints:
Length: 1 - 64
displayLabel - Not currently used.public RadiusSettings withDisplayLabel(String displayLabel)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
displayLabel - Not currently used.public Boolean isUseSameUsername()
public void setUseSameUsername(Boolean useSameUsername)
useSameUsername - Not currently used.public RadiusSettings withUseSameUsername(Boolean useSameUsername)
Returns a reference to this object so that method calls can be chained together.
useSameUsername - Not currently used.public Boolean getUseSameUsername()
public String toString()
toString in class ObjectObject.toString()public RadiusSettings clone()
Copyright © 2015. All rights reserved.