Class CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty>
- Enclosing interface:
CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty
@Stability(Stable)
public static final class CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty.getRules()rules(IResolvable rules) Sets the value ofCfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty.getRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rules
@Stability(Stable) public CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty.Builder rules(IResolvable rules) Sets the value ofCfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty.getRules()- Parameters:
rules- The rules. This parameter is required. You can specify up to 25 rules per identity provider.- Returns:
this
-
rules
@Stability(Stable) public CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty.Builder rules(List<? extends Object> rules) Sets the value ofCfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty.getRules()- Parameters:
rules- The rules. This parameter is required. You can specify up to 25 rules per identity provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty>- Returns:
- a new instance of
CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty - Throws:
NullPointerException- if any required attribute was not provided
-