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 RadiusSettingsclone()booleanequals(Object obj)StringgetAuthenticationProtocol()The protocol specified for your RADIUS endpoints.StringgetDisplayLabel()Not currently used.IntegergetRadiusPort()The port that your RADIUS server is using for communications.IntegergetRadiusRetries()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.IntegergetRadiusTimeout()The amount of time, in seconds, to wait for the RADIUS server to respond.StringgetSharedSecret()The shared secret code that was specified when your RADIUS endpoints were created.BooleangetUseSameUsername()Not currently used.inthashCode()BooleanisUseSameUsername()Not currently used.voidsetAuthenticationProtocol(RadiusAuthenticationProtocol authenticationProtocol)The protocol specified for your RADIUS endpoints.voidsetAuthenticationProtocol(String authenticationProtocol)The protocol specified for your RADIUS endpoints.voidsetDisplayLabel(String displayLabel)Not currently used.voidsetRadiusPort(Integer radiusPort)The port that your RADIUS server is using for communications.voidsetRadiusRetries(Integer radiusRetries)The maximum number of times that communication with the RADIUS server is attempted.voidsetRadiusServers(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.voidsetRadiusTimeout(Integer radiusTimeout)The amount of time, in seconds, to wait for the RADIUS server to respond.voidsetSharedSecret(String sharedSecret)The shared secret code that was specified when your RADIUS endpoints were created.voidsetUseSameUsername(Boolean useSameUsername)Not currently used.StringtoString()Returns a string representation of this object; useful for testing and debugging.RadiusSettingswithAuthenticationProtocol(RadiusAuthenticationProtocol authenticationProtocol)The protocol specified for your RADIUS endpoints.RadiusSettingswithAuthenticationProtocol(String authenticationProtocol)The protocol specified for your RADIUS endpoints.RadiusSettingswithDisplayLabel(String displayLabel)Not currently used.RadiusSettingswithRadiusPort(Integer radiusPort)The port that your RADIUS server is using for communications.RadiusSettingswithRadiusRetries(Integer radiusRetries)The maximum number of times that communication with the RADIUS server is attempted.RadiusSettingswithRadiusServers(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.RadiusSettingswithRadiusServers(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.RadiusSettingswithRadiusTimeout(Integer radiusTimeout)The amount of time, in seconds, to wait for the RADIUS server to respond.RadiusSettingswithSharedSecret(String sharedSecret)The shared secret code that was specified when your RADIUS endpoints were created.RadiusSettingswithUseSameUsername(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RadiusSettings clone()
-
-