@Generated(value="org.immutables.processor.ProxyProcessor") public final class BasicAuthentication extends Object
_BasicAuthentication.
Use the builder to create immutable instances:
BasicAuthentication.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicAuthentication.Builder
Builds instances of type
BasicAuthentication. |
| Modifier and Type | Method and Description |
|---|---|
static BasicAuthentication.Builder |
builder()
Creates a builder for
BasicAuthentication. |
boolean |
equals(Object another)
This instance is equal to all instances of
BasicAuthentication that have equal attribute values. |
Map<String,Object> |
getCredentials() |
String |
getPassword() |
String |
getType() |
String |
getUsername() |
int |
hashCode()
Computes a hash code from attributes:
username, password, credentials, type. |
String |
toString()
Prints the immutable value
BasicAuthentication with attribute values. |
public String getUsername()
username attributepublic String getPassword()
password attributepublic Map<String,Object> getCredentials()
credentials attributepublic String getType()
type attributepublic boolean equals(Object another)
BasicAuthentication that have equal attribute values.public int hashCode()
username, password, credentials, type.public String toString()
BasicAuthentication with attribute values.public static BasicAuthentication.Builder builder()
BasicAuthentication.
BasicAuthentication.builder()
.username(String) // required username
.password(String) // required password
.build();
Copyright © 2022. All rights reserved.