Interface AuthTypeAccessor.AuthTypeBuilder<B extends AuthTypeAccessor.AuthTypeBuilder<B>>

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


    public static interface AuthTypeAccessor.AuthTypeBuilder<B extends AuthTypeAccessor.AuthTypeBuilder<B>>
    Provides a builder method for a AuthType property returning the builder for applying multiple build operations.
    • Method Detail

      • withAuthType

        B withAuthType​(AuthType aAuthType)
        Sets the AuthType for the Authorization-Type property.
        Parameters:
        aAuthType - The AuthType to be stored by the AuthType property.
        Returns:
        The builder for applying multiple build operations.
      • withAuthType

        B withAuthType​(String aBearer,
                       String aToken)
        Sets the AuthType from the bearer and token for the Authorization-Type property.
        Parameters:
        aBearer - The bearer to be stored by the AuthType property.
        aToken - The token to be stored by the AuthType property.
        Returns:
        The builder for applying multiple build operations.