Package services.verifiedpermissions
Class CfnIdentitySource.IdentitySourceDetailsProperty.Builder
java.lang.Object
services.verifiedpermissions.CfnIdentitySource.IdentitySourceDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentitySource.IdentitySourceDetailsProperty>
- Enclosing interface:
CfnIdentitySource.IdentitySourceDetailsProperty
@Stability(Stable)
public static final class CfnIdentitySource.IdentitySourceDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentitySource.IdentitySourceDetailsProperty>
A builder for
CfnIdentitySource.IdentitySourceDetailsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnIdentitySource.IdentitySourceDetailsProperty.getClientIds()
discoveryUrl
(String discoveryUrl) Sets the value ofCfnIdentitySource.IdentitySourceDetailsProperty.getDiscoveryUrl()
openIdIssuer
(String openIdIssuer) Sets the value ofCfnIdentitySource.IdentitySourceDetailsProperty.getOpenIdIssuer()
userPoolArn
(String userPoolArn) Sets the value ofCfnIdentitySource.IdentitySourceDetailsProperty.getUserPoolArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientIds
@Stability(Stable) public CfnIdentitySource.IdentitySourceDetailsProperty.Builder clientIds(List<String> clientIds) Sets the value ofCfnIdentitySource.IdentitySourceDetailsProperty.getClientIds()
- Parameters:
clientIds
- The application client IDs associated with the specified Amazon Cognito user pool that are enabled for this identity source.- Returns:
this
-
discoveryUrl
@Stability(Stable) public CfnIdentitySource.IdentitySourceDetailsProperty.Builder discoveryUrl(String discoveryUrl) Sets the value ofCfnIdentitySource.IdentitySourceDetailsProperty.getDiscoveryUrl()
- Parameters:
discoveryUrl
- The well-known URL that points to this user pool's OIDC discovery endpoint. This is a URL string in the following format. This URL replaces the placeholders for both the AWS Region and the user pool identifier with those appropriate for this user pool.https://cognito-idp. *<region>* .amazonaws.com/ *<user-pool-id>* /.well-known/openid-configuration
- Returns:
this
-
openIdIssuer
@Stability(Stable) public CfnIdentitySource.IdentitySourceDetailsProperty.Builder openIdIssuer(String openIdIssuer) Sets the value ofCfnIdentitySource.IdentitySourceDetailsProperty.getOpenIdIssuer()
- Parameters:
openIdIssuer
- A string that identifies the type of OIDC service represented by this . At this time, the only valid value iscognito
.- Returns:
this
-
userPoolArn
@Stability(Stable) public CfnIdentitySource.IdentitySourceDetailsProperty.Builder userPoolArn(String userPoolArn) Sets the value ofCfnIdentitySource.IdentitySourceDetailsProperty.getUserPoolArn()
- Parameters:
userPoolArn
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool whose identities are accessible to this Verified Permissions policy store.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentitySource.IdentitySourceDetailsProperty>
- Returns:
- a new instance of
CfnIdentitySource.IdentitySourceDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-