public class ProviderDescription
extends java.lang.Object
implements java.io.Serializable
A container for IdP details.
| Constructor and Description |
|---|
ProviderDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
The date and time, in ISO
8601 format, when the item was created.
|
java.util.Date |
getLastModifiedDate()
The date the provider was last modified.
|
java.lang.String |
getProviderName()
The IdP name.
|
java.lang.String |
getProviderType()
The IdP type.
|
int |
hashCode() |
void |
setCreationDate(java.util.Date creationDate)
The date and time, in ISO
8601 format, when the item was created.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The date the provider was last modified.
|
void |
setProviderName(java.lang.String providerName)
The IdP name.
|
void |
setProviderType(IdentityProviderTypeType providerType)
The IdP type.
|
void |
setProviderType(java.lang.String providerType)
The IdP type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ProviderDescription |
withCreationDate(java.util.Date creationDate)
The date and time, in ISO
8601 format, when the item was created.
|
ProviderDescription |
withLastModifiedDate(java.util.Date lastModifiedDate)
The date the provider was last modified.
|
ProviderDescription |
withProviderName(java.lang.String providerName)
The IdP name.
|
ProviderDescription |
withProviderType(IdentityProviderTypeType providerType)
The IdP type.
|
ProviderDescription |
withProviderType(java.lang.String providerType)
The IdP type.
|
public java.lang.String getProviderName()
The IdP name.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The IdP name.
public void setProviderName(java.lang.String providerName)
The IdP name.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
providerName - The IdP name.
public ProviderDescription withProviderName(java.lang.String providerName)
The IdP name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
providerName - The IdP name.
public java.lang.String getProviderType()
The IdP type.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
The IdP type.
IdentityProviderTypeTypepublic void setProviderType(java.lang.String providerType)
The IdP type.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
providerType - The IdP type.
IdentityProviderTypeTypepublic ProviderDescription withProviderType(java.lang.String providerType)
The IdP type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
providerType - The IdP type.
IdentityProviderTypeTypepublic void setProviderType(IdentityProviderTypeType providerType)
The IdP type.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
providerType - The IdP type.
IdentityProviderTypeTypepublic ProviderDescription withProviderType(IdentityProviderTypeType providerType)
The IdP type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
providerType - The IdP type.
IdentityProviderTypeTypepublic java.util.Date getLastModifiedDate()
The date the provider was last modified.
The date the provider was last modified.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
The date the provider was last modified.
lastModifiedDate - The date the provider was last modified.
public ProviderDescription withLastModifiedDate(java.util.Date lastModifiedDate)
The date the provider was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The date the provider was last modified.
public java.util.Date getCreationDate()
The date and time, in ISO 8601 format, when the item was created.
The date and time, in ISO 8601 format, when the item was created.
public void setCreationDate(java.util.Date creationDate)
The date and time, in ISO 8601 format, when the item was created.
creationDate - The date and time, in ISO 8601 format, when the item was created.
public ProviderDescription withCreationDate(java.util.Date creationDate)
The date and time, in ISO 8601 format, when the item was created.
Returns a reference to this object so that method calls can be chained together.
creationDate - The date and time, in ISO 8601 format, when the item was created.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object