@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CognitoUserPoolConfigurationItem extends Object implements Serializable, Cloneable, StructuredPojo
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 the ConfigurationItem structure that is part of the response to ListIdentitySources.
Example:
"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}
| Constructor and Description |
|---|
CognitoUserPoolConfigurationItem() |
| Modifier and Type | Method and Description |
|---|---|
CognitoUserPoolConfigurationItem |
clone() |
boolean |
equals(Object obj) |
List<String> |
getClientIds()
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
|
CognitoGroupConfigurationItem |
getGroupConfiguration()
The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
|
String |
getIssuer()
The OpenID Connect (OIDC)
issuer ID of the Amazon Cognito user pool that contains the identities to
be authorized. |
String |
getUserPoolArn()
The Amazon Resource Name
(ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setClientIds(Collection<String> clientIds)
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
|
void |
setGroupConfiguration(CognitoGroupConfigurationItem groupConfiguration)
The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
|
void |
setIssuer(String issuer)
The OpenID Connect (OIDC)
issuer ID of the Amazon Cognito user pool that contains the identities to
be authorized. |
void |
setUserPoolArn(String userPoolArn)
The Amazon Resource Name
(ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
|
String |
toString()
Returns a string representation of this object.
|
CognitoUserPoolConfigurationItem |
withClientIds(Collection<String> clientIds)
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
|
CognitoUserPoolConfigurationItem |
withClientIds(String... clientIds)
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
|
CognitoUserPoolConfigurationItem |
withGroupConfiguration(CognitoGroupConfigurationItem groupConfiguration)
The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
|
CognitoUserPoolConfigurationItem |
withIssuer(String issuer)
The OpenID Connect (OIDC)
issuer ID of the Amazon Cognito user pool that contains the identities to
be authorized. |
CognitoUserPoolConfigurationItem |
withUserPoolArn(String userPoolArn)
The Amazon Resource Name
(ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
|
public void setUserPoolArn(String userPoolArn)
The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
userPoolArn - The Amazon Resource
Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example:
"userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
public String getUserPoolArn()
The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
Example:
"userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
public CognitoUserPoolConfigurationItem withUserPoolArn(String userPoolArn)
The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
userPoolArn - The Amazon Resource
Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example:
"userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
public List<String> getClientIds()
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
Example: "clientIds": ["&ExampleCogClientId;"]
public void setClientIds(Collection<String> clientIds)
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
clientIds - The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
public CognitoUserPoolConfigurationItem withClientIds(String... clientIds)
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
NOTE: This method appends the values to the existing list (if any). Use
setClientIds(java.util.Collection) or withClientIds(java.util.Collection) if you want to
override the existing values.
clientIds - The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
public CognitoUserPoolConfigurationItem withClientIds(Collection<String> clientIds)
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
clientIds - The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
public void setIssuer(String issuer)
The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to
be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
issuer - The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the
identities to be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
public String getIssuer()
The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to
be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
issuer ID of the Amazon Cognito user pool that contains the
identities to be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
public CognitoUserPoolConfigurationItem withIssuer(String issuer)
The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to
be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
issuer - The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the
identities to be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
public void setGroupConfiguration(CognitoGroupConfigurationItem groupConfiguration)
The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
groupConfiguration - The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.public CognitoGroupConfigurationItem getGroupConfiguration()
The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
public CognitoUserPoolConfigurationItem withGroupConfiguration(CognitoGroupConfigurationItem groupConfiguration)
The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
groupConfiguration - The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.public String toString()
toString in class ObjectObject.toString()public CognitoUserPoolConfigurationItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.