Class CfnIdentitySource.CognitoUserPoolConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.verifiedpermissions.CfnIdentitySource.CognitoUserPoolConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentitySource.CognitoUserPoolConfigurationProperty>
- Enclosing interface:
CfnIdentitySource.CognitoUserPoolConfigurationProperty
@Stability(Stable)
public static final class CfnIdentitySource.CognitoUserPoolConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentitySource.CognitoUserPoolConfigurationProperty>
A builder for
CfnIdentitySource.CognitoUserPoolConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnIdentitySource.CognitoUserPoolConfigurationProperty.getClientIds()
groupConfiguration
(IResolvable groupConfiguration) groupConfiguration
(CfnIdentitySource.CognitoGroupConfigurationProperty groupConfiguration) userPoolArn
(String userPoolArn) Sets the value ofCfnIdentitySource.CognitoUserPoolConfigurationProperty.getUserPoolArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
userPoolArn
@Stability(Stable) public CfnIdentitySource.CognitoUserPoolConfigurationProperty.Builder userPoolArn(String userPoolArn) Sets the value ofCfnIdentitySource.CognitoUserPoolConfigurationProperty.getUserPoolArn()
- Parameters:
userPoolArn
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized. This parameter is required.- Returns:
this
-
clientIds
@Stability(Stable) public CfnIdentitySource.CognitoUserPoolConfigurationProperty.Builder clientIds(List<String> clientIds) Sets the value ofCfnIdentitySource.CognitoUserPoolConfigurationProperty.getClientIds()
- Parameters:
clientIds
- The unique application client IDs that are associated with the specified Amazon Cognito user pool. Example:"ClientIds": ["&ExampleCogClientId;"]
- Returns:
this
-
groupConfiguration
@Stability(Stable) public CfnIdentitySource.CognitoUserPoolConfigurationProperty.Builder groupConfiguration(IResolvable groupConfiguration) - Parameters:
groupConfiguration
- The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.- Returns:
this
-
groupConfiguration
@Stability(Stable) public CfnIdentitySource.CognitoUserPoolConfigurationProperty.Builder groupConfiguration(CfnIdentitySource.CognitoGroupConfigurationProperty groupConfiguration) - Parameters:
groupConfiguration
- The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentitySource.CognitoUserPoolConfigurationProperty>
- Returns:
- a new instance of
CfnIdentitySource.CognitoUserPoolConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-