Class RadiusSettings
- java.lang.Object
-
- com.amazonaws.services.directory.model.RadiusSettings
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RadiusSettings extends Object implements Serializable, Cloneable
Contains information about a Remote Authentication Dial In User Service (RADIUS) server.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RadiusSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(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(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
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.
-
-
-
Method Detail
-
getRadiusServers
public 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.
- Returns:
- An array of strings that contains the IP addresses of the RADIUS server endpoints, or the IP addresses of your RADIUS server load balancer.
-
setRadiusServers
public 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.
- Parameters:
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.
-
withRadiusServers
public 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.
NOTE: This method appends the values to the existing list (if any). Use
setRadiusServers(java.util.Collection)
orwithRadiusServers(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRadiusServers
public 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRadiusPort
public void setRadiusPort(Integer 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.
- Parameters:
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.
-
getRadiusPort
public Integer getRadiusPort()
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.
- Returns:
- 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.
-
withRadiusPort
public RadiusSettings withRadiusPort(Integer 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRadiusTimeout
public void setRadiusTimeout(Integer radiusTimeout)
The amount of time, in seconds, to wait for the RADIUS server to respond.
- Parameters:
radiusTimeout
- The amount of time, in seconds, to wait for the RADIUS server to respond.
-
getRadiusTimeout
public Integer getRadiusTimeout()
The amount of time, in seconds, to wait for the RADIUS server to respond.
- Returns:
- The amount of time, in seconds, to wait for the RADIUS server to respond.
-
withRadiusTimeout
public RadiusSettings withRadiusTimeout(Integer radiusTimeout)
The amount of time, in seconds, to wait for the RADIUS server to respond.
- Parameters:
radiusTimeout
- The amount of time, in seconds, to wait for the RADIUS server to respond.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRadiusRetries
public void setRadiusRetries(Integer radiusRetries)
The maximum number of times that communication with the RADIUS server is attempted.
- Parameters:
radiusRetries
- The maximum number of times that communication with the RADIUS server is attempted.
-
getRadiusRetries
public Integer getRadiusRetries()
The maximum number of times that communication with the RADIUS server is attempted.
- Returns:
- The maximum number of times that communication with the RADIUS server is attempted.
-
withRadiusRetries
public RadiusSettings withRadiusRetries(Integer radiusRetries)
The maximum number of times that communication with the RADIUS server is attempted.
- Parameters:
radiusRetries
- The maximum number of times that communication with the RADIUS server is attempted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSharedSecret
public void setSharedSecret(String sharedSecret)
The shared secret code that was specified when your RADIUS endpoints were created.
- Parameters:
sharedSecret
- The shared secret code that was specified when your RADIUS endpoints were created.
-
getSharedSecret
public String getSharedSecret()
The shared secret code that was specified when your RADIUS endpoints were created.
- Returns:
- The shared secret code that was specified when your RADIUS endpoints were created.
-
withSharedSecret
public RadiusSettings withSharedSecret(String sharedSecret)
The shared secret code that was specified when your RADIUS endpoints were created.
- Parameters:
sharedSecret
- The shared secret code that was specified when your RADIUS endpoints were created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAuthenticationProtocol
public void setAuthenticationProtocol(String authenticationProtocol)
The protocol specified for your RADIUS endpoints.
- Parameters:
authenticationProtocol
- The protocol specified for your RADIUS endpoints.- See Also:
RadiusAuthenticationProtocol
-
getAuthenticationProtocol
public String getAuthenticationProtocol()
The protocol specified for your RADIUS endpoints.
- Returns:
- The protocol specified for your RADIUS endpoints.
- See Also:
RadiusAuthenticationProtocol
-
withAuthenticationProtocol
public RadiusSettings withAuthenticationProtocol(String authenticationProtocol)
The protocol specified for your RADIUS endpoints.
- Parameters:
authenticationProtocol
- The protocol specified for your RADIUS endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RadiusAuthenticationProtocol
-
setAuthenticationProtocol
public void setAuthenticationProtocol(RadiusAuthenticationProtocol authenticationProtocol)
The protocol specified for your RADIUS endpoints.
- Parameters:
authenticationProtocol
- The protocol specified for your RADIUS endpoints.- See Also:
RadiusAuthenticationProtocol
-
withAuthenticationProtocol
public RadiusSettings withAuthenticationProtocol(RadiusAuthenticationProtocol authenticationProtocol)
The protocol specified for your RADIUS endpoints.
- Parameters:
authenticationProtocol
- The protocol specified for your RADIUS endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RadiusAuthenticationProtocol
-
setDisplayLabel
public void setDisplayLabel(String displayLabel)
Not currently used.
- Parameters:
displayLabel
- Not currently used.
-
getDisplayLabel
public String getDisplayLabel()
Not currently used.
- Returns:
- Not currently used.
-
withDisplayLabel
public RadiusSettings withDisplayLabel(String displayLabel)
Not currently used.
- Parameters:
displayLabel
- Not currently used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUseSameUsername
public void setUseSameUsername(Boolean useSameUsername)
Not currently used.
- Parameters:
useSameUsername
- Not currently used.
-
getUseSameUsername
public Boolean getUseSameUsername()
Not currently used.
- Returns:
- Not currently used.
-
withUseSameUsername
public RadiusSettings withUseSameUsername(Boolean useSameUsername)
Not currently used.
- Parameters:
useSameUsername
- Not currently used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isUseSameUsername
public Boolean isUseSameUsername()
Not currently used.
- Returns:
- Not currently used.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RadiusSettings clone()
-
-