Package org.sonarqube.ws.client.emails
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Constructor Summary
ConstructorsConstructorDescriptionWsEmailConfiguration(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 aWsEmailConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthMethodrecord component.Returns the value of thebasicPasswordrecord component.builder()final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefromAddressrecord component.fromName()Returns the value of thefromNamerecord component.final inthashCode()Returns a hash code value for this object.host()Returns the value of thehostrecord component.Returns the value of theoauthAuthenticationHostrecord component.Returns the value of theoauthClientIdrecord component.Returns the value of theoauthClientSecretrecord component.Returns the value of theoauthTenantrecord component.port()Returns the value of theportrecord component.Returns the value of thesecurityProtocolrecord component.Returns the value of thesubjectPrefixrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
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 aWsEmailConfigurationrecord class.- Parameters:
host- the value for thehostrecord componentport- the value for theportrecord componentsecurityProtocol- the value for thesecurityProtocolrecord componentfromAddress- the value for thefromAddressrecord componentfromName- the value for thefromNamerecord componentsubjectPrefix- the value for thesubjectPrefixrecord componentauthMethod- the value for theauthMethodrecord componentusername- the value for theusernamerecord componentbasicPassword- the value for thebasicPasswordrecord componentoauthAuthenticationHost- the value for theoauthAuthenticationHostrecord componentoauthClientId- the value for theoauthClientIdrecord componentoauthClientSecret- the value for theoauthClientSecretrecord componentoauthTenant- the value for theoauthTenantrecord component
-
-
Method Details
-
builder
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
host
Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
port
Returns the value of theportrecord component.- Returns:
- the value of the
portrecord component
-
securityProtocol
Returns the value of thesecurityProtocolrecord component.- Returns:
- the value of the
securityProtocolrecord component
-
fromAddress
Returns the value of thefromAddressrecord component.- Returns:
- the value of the
fromAddressrecord component
-
fromName
Returns the value of thefromNamerecord component.- Returns:
- the value of the
fromNamerecord component
-
subjectPrefix
Returns the value of thesubjectPrefixrecord component.- Returns:
- the value of the
subjectPrefixrecord component
-
authMethod
Returns the value of theauthMethodrecord component.- Returns:
- the value of the
authMethodrecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
basicPassword
Returns the value of thebasicPasswordrecord component.- Returns:
- the value of the
basicPasswordrecord component
-
oauthAuthenticationHost
Returns the value of theoauthAuthenticationHostrecord component.- Returns:
- the value of the
oauthAuthenticationHostrecord component
-
oauthClientId
Returns the value of theoauthClientIdrecord component.- Returns:
- the value of the
oauthClientIdrecord component
-
oauthClientSecret
Returns the value of theoauthClientSecretrecord component.- Returns:
- the value of the
oauthClientSecretrecord component
-
oauthTenant
Returns the value of theoauthTenantrecord component.- Returns:
- the value of the
oauthTenantrecord component
-