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:
  • Constructor Details

    • RadiusSettings

      public RadiusSettings()
  • Method Details

    • 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) or withRadiusServers(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:
    • getAuthenticationProtocol

      public String getAuthenticationProtocol()

      The protocol specified for your RADIUS endpoints.

      Returns:
      The protocol specified for your RADIUS endpoints.
      See Also:
    • 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:
    • setAuthenticationProtocol

      public void setAuthenticationProtocol(RadiusAuthenticationProtocol authenticationProtocol)

      The protocol specified for your RADIUS endpoints.

      Parameters:
      authenticationProtocol - The protocol specified for your RADIUS endpoints.
      See Also:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public RadiusSettings clone()
      Overrides:
      clone in class Object