Record Class WsEmailConfiguration

java.lang.Object
java.lang.Record
org.sonarqube.ws.client.emails.WsEmailConfiguration

public record WsEmailConfiguration(String host, String port, String securityProtocol, String fromAddress, String fromName, String subjectPrefix, String authMethod, String username, String basicPassword, String oauthAuthenticationHost, String oauthClientId, String oauthClientSecret, String oauthTenant) extends Record
  • Constructor Details

    • WsEmailConfiguration

      public WsEmailConfiguration(String host, String port, String securityProtocol, String fromAddress, String fromName, String subjectPrefix, String authMethod, String username, String basicPassword, String oauthAuthenticationHost, String oauthClientId, String oauthClientSecret, String oauthTenant)
      Creates an instance of a WsEmailConfiguration record class.
      Parameters:
      host - the value for the host record component
      port - the value for the port record component
      securityProtocol - the value for the securityProtocol record component
      fromAddress - the value for the fromAddress record component
      fromName - the value for the fromName record component
      subjectPrefix - the value for the subjectPrefix record component
      authMethod - the value for the authMethod record component
      username - the value for the username record component
      basicPassword - the value for the basicPassword record component
      oauthAuthenticationHost - the value for the oauthAuthenticationHost record component
      oauthClientId - the value for the oauthClientId record component
      oauthClientSecret - the value for the oauthClientSecret record component
      oauthTenant - the value for the oauthTenant record component
  • Method Details

    • builder

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • host

      public String host()
      Returns the value of the host record component.
      Returns:
      the value of the host record component
    • port

      public String port()
      Returns the value of the port record component.
      Returns:
      the value of the port record component
    • securityProtocol

      public String securityProtocol()
      Returns the value of the securityProtocol record component.
      Returns:
      the value of the securityProtocol record component
    • fromAddress

      public String fromAddress()
      Returns the value of the fromAddress record component.
      Returns:
      the value of the fromAddress record component
    • fromName

      public String fromName()
      Returns the value of the fromName record component.
      Returns:
      the value of the fromName record component
    • subjectPrefix

      public String subjectPrefix()
      Returns the value of the subjectPrefix record component.
      Returns:
      the value of the subjectPrefix record component
    • authMethod

      public String authMethod()
      Returns the value of the authMethod record component.
      Returns:
      the value of the authMethod record component
    • username

      public String username()
      Returns the value of the username record component.
      Returns:
      the value of the username record component
    • basicPassword

      public String basicPassword()
      Returns the value of the basicPassword record component.
      Returns:
      the value of the basicPassword record component
    • oauthAuthenticationHost

      public String oauthAuthenticationHost()
      Returns the value of the oauthAuthenticationHost record component.
      Returns:
      the value of the oauthAuthenticationHost record component
    • oauthClientId

      public String oauthClientId()
      Returns the value of the oauthClientId record component.
      Returns:
      the value of the oauthClientId record component
    • oauthClientSecret

      public String oauthClientSecret()
      Returns the value of the oauthClientSecret record component.
      Returns:
      the value of the oauthClientSecret record component
    • oauthTenant

      public String oauthTenant()
      Returns the value of the oauthTenant record component.
      Returns:
      the value of the oauthTenant record component