Class ProviderDescription
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.ProviderDescription
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ProviderDescription.Builder,ProviderDescription>
@Generated("software.amazon.awssdk:codegen") public final class ProviderDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProviderDescription.Builder,ProviderDescription>
A container for IdP details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ProviderDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProviderDescription.Builder
builder()
Instant
creationDate()
The date and time when the item was created.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
lastModifiedDate()
The date the provider was last modified.String
providerName()
The IdP name.IdentityProviderTypeType
providerType()
The IdP type.String
providerTypeAsString()
The IdP type.List<SdkField<?>>
sdkFields()
static Class<? extends ProviderDescription.Builder>
serializableBuilderClass()
ProviderDescription.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
providerName
public final String providerName()
The IdP name.
- Returns:
- The IdP name.
-
providerType
public final IdentityProviderTypeType providerType()
The IdP type.
If the service returns an enum value that is not available in the current SDK version,
providerType
will returnIdentityProviderTypeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromproviderTypeAsString()
.- Returns:
- The IdP type.
- See Also:
IdentityProviderTypeType
-
providerTypeAsString
public final String providerTypeAsString()
The IdP type.
If the service returns an enum value that is not available in the current SDK version,
providerType
will returnIdentityProviderTypeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromproviderTypeAsString()
.- Returns:
- The IdP type.
- See Also:
IdentityProviderTypeType
-
lastModifiedDate
public final Instant lastModifiedDate()
The date the provider was last modified.
- Returns:
- The date the provider was last modified.
-
creationDate
public final Instant creationDate()
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Date
object.- Returns:
- The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time
format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Date
object.
-
toBuilder
public ProviderDescription.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ProviderDescription.Builder,ProviderDescription>
-
builder
public static ProviderDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProviderDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-