Package services.verifiedpermissions
Class CfnIdentitySourceProps.Builder
java.lang.Object
services.verifiedpermissions.CfnIdentitySourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentitySourceProps>
- Enclosing interface:
CfnIdentitySourceProps
@Stability(Stable)
public static final class CfnIdentitySourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentitySourceProps>
A builder for
CfnIdentitySourceProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnIdentitySourceProps.getConfiguration()
configuration
(IResolvable configuration) Sets the value ofCfnIdentitySourceProps.getConfiguration()
policyStoreId
(String policyStoreId) Sets the value ofCfnIdentitySourceProps.getPolicyStoreId()
principalEntityType
(String principalEntityType) Sets the value ofCfnIdentitySourceProps.getPrincipalEntityType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
Sets the value ofCfnIdentitySourceProps.getConfiguration()
- Parameters:
configuration
- Contains configuration information used when creating a new . This parameter is required.At this time, the only valid member of this structure is a user pool configuration.
You must specify a
userPoolArn
, and optionally, aClientId
.This data type is used as a request parameter for the CreateIdentitySource operation.
- Returns:
this
-
configuration
@Stability(Stable) public CfnIdentitySourceProps.Builder configuration(CfnIdentitySource.IdentitySourceConfigurationProperty configuration) Sets the value ofCfnIdentitySourceProps.getConfiguration()
- Parameters:
configuration
- Contains configuration information used when creating a new . This parameter is required.At this time, the only valid member of this structure is a user pool configuration.
You must specify a
userPoolArn
, and optionally, aClientId
.This data type is used as a request parameter for the CreateIdentitySource operation.
- Returns:
this
-
policyStoreId
Sets the value ofCfnIdentitySourceProps.getPolicyStoreId()
- Parameters:
policyStoreId
- Specifies the ID of the in which you want to store this . Only policies and requests made using this can reference identities from the identity provider configured in the new .- Returns:
this
-
principalEntityType
@Stability(Stable) public CfnIdentitySourceProps.Builder principalEntityType(String principalEntityType) Sets the value ofCfnIdentitySourceProps.getPrincipalEntityType()
- Parameters:
principalEntityType
- Specifies the namespace and data type of the principals generated for identities authenticated by the new .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentitySourceProps>
- Returns:
- a new instance of
CfnIdentitySourceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-