Interface BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B extends BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B>>

Type Parameters:
B - The builder to return in order to be able to apply multiple build operations.
Enclosing interface:
BasicAuthCredentialsAccessor

public static interface BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B extends BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B>>
Provides a builder method for a BasicAuthCredentials property returning the builder for applying multiple build operations.
  • Method Details

    • withBasicAuthCredentials

      B withBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
      Sets the BasicAuthCredentials for the Basic-Authentication credentials property.
      Parameters:
      aBasicAuthCredentials - The BasicAuthCredentials to be stored by the BasicAuthCredentials property.
      Returns:
      The builder for applying multiple build operations.
    • withBasicAuthCredentials

      B withBasicAuthCredentials(String aUserName, String aSecret)
      Sets the BasicAuthCredentials from the user name and the secret for the Basic-Authentication credentials property.
      Parameters:
      aUserName - The user name to be stored by the BasicAuthCredentials property.
      aSecret - The password to be stored by the BasicAuthCredentials property.
      Returns:
      The builder for applying multiple build operations.