Class IssuerConfigurationType

java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.IssuerConfigurationType
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<IssuerConfigurationType.Builder,IssuerConfigurationType>

@Generated("software.amazon.awssdk:codegen") public final class IssuerConfigurationType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IssuerConfigurationType.Builder,IssuerConfigurationType>

Specifies the issuer configuration for a user pool. Contains settings that determine how tokens are issued and validated.

See Also:
  • Method Details

    • type

      public final IssuerType type()

      The type of issuer configuration. Determines the token issuing behavior for the user pool.

      ORIGINAL

      The original issuer configuration for user pools. The issuer URL is hosted in the user pool’s region and provides OIDC endpoints specific to that region.

      Original issuers have the format of https://cognito-idp.[region].amazonaws.com/[userPoolId]

      UPDATED

      Recommended for all user pools, including for multi-Region replication. Updated issuers host the same JWKS content in multiple regions, resulting in improved resilience and efficiency.

      Updated issuers have the format of https://issuer-cognito-idp.[region].amazonaws.com/[userPoolId], where region is the primary Amazon Web Services Region of your user pool.

      If the service returns an enum value that is not available in the current SDK version, type will return IssuerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

      Returns:
      The type of issuer configuration. Determines the token issuing behavior for the user pool.

      ORIGINAL

      The original issuer configuration for user pools. The issuer URL is hosted in the user pool’s region and provides OIDC endpoints specific to that region.

      Original issuers have the format of https://cognito-idp.[region].amazonaws.com/[userPoolId]

      UPDATED

      Recommended for all user pools, including for multi-Region replication. Updated issuers host the same JWKS content in multiple regions, resulting in improved resilience and efficiency.

      Updated issuers have the format of https://issuer-cognito-idp.[region].amazonaws.com/[userPoolId], where region is the primary Amazon Web Services Region of your user pool.

      See Also:
    • typeAsString

      public final String typeAsString()

      The type of issuer configuration. Determines the token issuing behavior for the user pool.

      ORIGINAL

      The original issuer configuration for user pools. The issuer URL is hosted in the user pool’s region and provides OIDC endpoints specific to that region.

      Original issuers have the format of https://cognito-idp.[region].amazonaws.com/[userPoolId]

      UPDATED

      Recommended for all user pools, including for multi-Region replication. Updated issuers host the same JWKS content in multiple regions, resulting in improved resilience and efficiency.

      Updated issuers have the format of https://issuer-cognito-idp.[region].amazonaws.com/[userPoolId], where region is the primary Amazon Web Services Region of your user pool.

      If the service returns an enum value that is not available in the current SDK version, type will return IssuerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

      Returns:
      The type of issuer configuration. Determines the token issuing behavior for the user pool.

      ORIGINAL

      The original issuer configuration for user pools. The issuer URL is hosted in the user pool’s region and provides OIDC endpoints specific to that region.

      Original issuers have the format of https://cognito-idp.[region].amazonaws.com/[userPoolId]

      UPDATED

      Recommended for all user pools, including for multi-Region replication. Updated issuers host the same JWKS content in multiple regions, resulting in improved resilience and efficiency.

      Updated issuers have the format of https://issuer-cognito-idp.[region].amazonaws.com/[userPoolId], where region is the primary Amazon Web Services Region of your user pool.

      See Also:
    • toBuilder

      public IssuerConfigurationType.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<IssuerConfigurationType.Builder,IssuerConfigurationType>
    • builder

      public static IssuerConfigurationType.Builder builder()
    • serializableBuilderClass

      public static Class<? extends IssuerConfigurationType.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo