@Stability(value=Experimental) public static final class IdentityPoolRoleMapping.Builder extends Object implements software.amazon.jsii.Builder<IdentityPoolRoleMapping>
IdentityPoolRoleMapping| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
IdentityPoolRoleMapping |
build()
Builds the configured instance.
|
IdentityPoolRoleMapping.Builder |
providerUrl(IdentityPoolProviderUrl providerUrl)
Sets the value of
IdentityPoolRoleMapping.getProviderUrl() |
IdentityPoolRoleMapping.Builder |
resolveAmbiguousRoles(Boolean resolveAmbiguousRoles)
Sets the value of
IdentityPoolRoleMapping.getResolveAmbiguousRoles() |
IdentityPoolRoleMapping.Builder |
rules(List<? extends RoleMappingRule> rules)
Sets the value of
IdentityPoolRoleMapping.getRules() |
IdentityPoolRoleMapping.Builder |
useToken(Boolean useToken)
Sets the value of
IdentityPoolRoleMapping.getUseToken() |
@Stability(value=Experimental) public IdentityPoolRoleMapping.Builder providerUrl(IdentityPoolProviderUrl providerUrl)
IdentityPoolRoleMapping.getProviderUrl()providerUrl - The url of the provider of for which the role is mapped. This parameter is required.this@Stability(value=Experimental) public IdentityPoolRoleMapping.Builder resolveAmbiguousRoles(Boolean resolveAmbiguousRoles)
IdentityPoolRoleMapping.getResolveAmbiguousRoles()resolveAmbiguousRoles - Allow for role assumption when results of role mapping are ambiguous.this@Stability(value=Experimental) public IdentityPoolRoleMapping.Builder rules(List<? extends RoleMappingRule> rules)
IdentityPoolRoleMapping.getRules()rules - The claim and value that must be matched in order to assume the role.
Required if useToken is falsethis@Stability(value=Experimental) public IdentityPoolRoleMapping.Builder useToken(Boolean useToken)
IdentityPoolRoleMapping.getUseToken()useToken - If true then mapped roles must be passed through the cognito:roles or cognito:preferred_role claims from identity provider.this@Stability(value=Experimental) public IdentityPoolRoleMapping build()
build in interface software.amazon.jsii.Builder<IdentityPoolRoleMapping>IdentityPoolRoleMappingNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.