Class CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.cognito_identity_pool_roles_attachment.CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule>
- Enclosing interface:
- CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule
@Stability(Stable) public static final class CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.Builder extends Object implements software.amazon.jsii.Builder<CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule>
A builder forCognitoIdentityPoolRolesAttachmentRoleMappingMappingRule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CognitoIdentityPoolRolesAttachmentRoleMappingMappingRulebuild()Builds the configured instance.CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.Builderclaim(String claim)Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.getClaim()CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.BuildermatchType(String matchType)Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.getMatchType()CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.BuilderroleArn(String roleArn)Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.getRoleArn()CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.Buildervalue(String value)Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.getValue()
-
-
-
Method Detail
-
claim
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.Builder claim(String claim)
Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.getClaim()- Parameters:
claim- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cognito_identity_pool_roles_attachment#claim CognitoIdentityPoolRolesAttachment#claim}. This parameter is required.- Returns:
this
-
matchType
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.Builder matchType(String matchType)
Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.getMatchType()- Parameters:
matchType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cognito_identity_pool_roles_attachment#match_type CognitoIdentityPoolRolesAttachment#match_type}. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.Builder roleArn(String roleArn)
Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.getRoleArn()- Parameters:
roleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cognito_identity_pool_roles_attachment#role_arn CognitoIdentityPoolRolesAttachment#role_arn}. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.Builder value(String value)
Sets the value ofCognitoIdentityPoolRolesAttachmentRoleMappingMappingRule.getValue()- Parameters:
value- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cognito_identity_pool_roles_attachment#value CognitoIdentityPoolRolesAttachment#value}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule>- Returns:
- a new instance of
CognitoIdentityPoolRolesAttachmentRoleMappingMappingRule - Throws:
NullPointerException- if any required attribute was not provided
-
-