Class CumulocityBasicCredentials
- java.lang.Object
-
- com.cumulocity.model.authentication.CumulocityBasicCredentials
-
- All Implemented Interfaces:
CumulocityCredentials
public class CumulocityBasicCredentials extends Object implements CumulocityCredentials
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCumulocityBasicCredentials.CumulocityBasicCredentialsBuilder-
Nested classes/interfaces inherited from interface com.cumulocity.model.authentication.CumulocityCredentials
CumulocityCredentials.CumulocityCredentialsVisitor<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(CumulocityCredentials.CumulocityCredentialsVisitor<T> visitor)static CumulocityBasicCredentials.CumulocityBasicCredentialsBuilderbuilder()protected booleancanEqual(Object other)CumulocityCredentialscopy()booleanequals(Object o)static CumulocityBasicCredentialsfrom(String loginString)StringgetApplicationKey()AuthenticationMethodgetAuthenticationMethod()StringgetAuthenticationString()StringgetLoginWithTenant()StringgetPassword()StringgetRequestOrigin()StringgetTenantId()StringgetUsername()inthashCode()voidsetApplicationKey(String applicationKey)voidsetPassword(String password)voidsetRequestOrigin(String requestOrigin)voidsetTenantId(String tenantId)StringtoString()
-
-
-
Method Detail
-
from
public static CumulocityBasicCredentials from(String loginString)
-
getAuthenticationString
public String getAuthenticationString()
- Specified by:
getAuthenticationStringin interfaceCumulocityCredentials
-
getAuthenticationMethod
public AuthenticationMethod getAuthenticationMethod()
- Specified by:
getAuthenticationMethodin interfaceCumulocityCredentials
-
copy
public CumulocityCredentials copy()
- Specified by:
copyin interfaceCumulocityCredentials
-
getLoginWithTenant
public String getLoginWithTenant()
-
accept
public <T> T accept(CumulocityCredentials.CumulocityCredentialsVisitor<T> visitor)
- Specified by:
acceptin interfaceCumulocityCredentials
-
builder
public static CumulocityBasicCredentials.CumulocityBasicCredentialsBuilder builder()
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceCumulocityCredentials
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceCumulocityCredentials
-
getPassword
public String getPassword()
-
getApplicationKey
public String getApplicationKey()
- Specified by:
getApplicationKeyin interfaceCumulocityCredentials
-
getRequestOrigin
public String getRequestOrigin()
- Specified by:
getRequestOriginin interfaceCumulocityCredentials
-
canEqual
protected boolean canEqual(Object other)
-
setTenantId
public void setTenantId(String tenantId)
-
setPassword
public void setPassword(String password)
-
setApplicationKey
public void setApplicationKey(String applicationKey)
- Specified by:
setApplicationKeyin interfaceCumulocityCredentials
-
setRequestOrigin
public void setRequestOrigin(String requestOrigin)
- Specified by:
setRequestOriginin interfaceCumulocityCredentials
-
-