Class CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty>
- Enclosing interface:
CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty
@Stability(Stable)
public static final class CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockedIpRangeList
(List<String> blockedIpRangeList) build()
Builds the configured instance.skippedIpRangeList
(List<String> skippedIpRangeList)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blockedIpRangeList
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty.Builder blockedIpRangeList(List<String> blockedIpRangeList) Sets the value ofCfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty.getBlockedIpRangeList()
- Parameters:
blockedIpRangeList
- An always-block IP address list. Overrides the risk decision and always blocks authentication requests. This parameter is displayed and set in CIDR notation.- Returns:
this
-
skippedIpRangeList
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty.Builder skippedIpRangeList(List<String> skippedIpRangeList) Sets the value ofCfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty.getSkippedIpRangeList()
- Parameters:
skippedIpRangeList
- An always-allow IP address list. Risk detection isn't performed on the IP addresses in this range list. This parameter is displayed and set in CIDR notation.- Returns:
this
-
build
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty>
- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-