Class CognitoIdentityPoolRolesAttachmentRoleMapping.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.cognito_identity_pool_roles_attachment.CognitoIdentityPoolRolesAttachmentRoleMapping.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CognitoIdentityPoolRolesAttachmentRoleMapping>
- Enclosing interface:
- CognitoIdentityPoolRolesAttachmentRoleMapping
@Stability(Stable) public static final class CognitoIdentityPoolRolesAttachmentRoleMapping.Builder extends Object implements software.amazon.jsii.Builder<CognitoIdentityPoolRolesAttachmentRoleMapping>
A builder forCognitoIdentityPoolRolesAttachmentRoleMapping
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
identityProvider
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMapping.Builder identityProvider(String identityProvider)
Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMapping.getIdentityProvider()- Parameters:
identityProvider- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cognito_identity_pool_roles_attachment#identity_provider CognitoIdentityPoolRolesAttachment#identity_provider}. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMapping.Builder type(String type)
Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMapping.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cognito_identity_pool_roles_attachment#type CognitoIdentityPoolRolesAttachment#type}. This parameter is required.- Returns:
this
-
ambiguousRoleResolution
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMapping.Builder ambiguousRoleResolution(String ambiguousRoleResolution)
- Parameters:
ambiguousRoleResolution- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cognito_identity_pool_roles_attachment#ambiguous_role_resolution CognitoIdentityPoolRolesAttachment#ambiguous_role_resolution}.- Returns:
this
-
mappingRule
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMapping.Builder mappingRule(com.hashicorp.cdktf.IResolvable mappingRule)
Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMapping.getMappingRule()- Parameters:
mappingRule- mapping_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cognito_identity_pool_roles_attachment#mapping_rule CognitoIdentityPoolRolesAttachment#mapping_rule}- Returns:
this
-
mappingRule
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMapping.Builder mappingRule(List<? extends CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule> mappingRule)
Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMapping.getMappingRule()- Parameters:
mappingRule- mapping_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cognito_identity_pool_roles_attachment#mapping_rule CognitoIdentityPoolRolesAttachment#mapping_rule}- Returns:
this
-
build
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMapping build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CognitoIdentityPoolRolesAttachmentRoleMapping>- Returns:
- a new instance of
CognitoIdentityPoolRolesAttachmentRoleMapping - Throws:
NullPointerException- if any required attribute was not provided
-
-