@Generated(value="software.amazon.awssdk:codegen") public final class CognitoUserPoolConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CognitoUserPoolConfiguration.Builder,CognitoUserPoolConfiguration>
The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions.
This data type is used as a field that is part of an Configuration structure that is used as a parameter to the Configuration.
Example:
"CognitoUserPoolConfiguration":{"UserPoolArn":"cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}
| Modifier and Type | Class and Description |
|---|---|
static interface |
CognitoUserPoolConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CognitoUserPoolConfiguration.Builder |
builder() |
List<String> |
clientIds()
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasClientIds()
For responses, this returns true if the service returned a value for the ClientIds property.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CognitoUserPoolConfiguration.Builder> |
serializableBuilderClass() |
CognitoUserPoolConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userPoolArn()
The Amazon Resource Name
(ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userPoolArn()
The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "UserPoolArn": "cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
Example: "UserPoolArn": "cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
public final boolean hasClientIds()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> clientIds()
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "ClientIds": ["&ExampleCogClientId;"]
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasClientIds() method.
Example: "ClientIds": ["&ExampleCogClientId;"]
public CognitoUserPoolConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CognitoUserPoolConfiguration.Builder,CognitoUserPoolConfiguration>public static CognitoUserPoolConfiguration.Builder builder()
public static Class<? extends CognitoUserPoolConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.