Interface RiskConfigurationType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RiskConfigurationType.Builder,,RiskConfigurationType> SdkBuilder<RiskConfigurationType.Builder,,RiskConfigurationType> SdkPojo
- Enclosing class:
- RiskConfigurationType
-
Method Summary
Modifier and TypeMethodDescriptiondefault RiskConfigurationType.BuilderaccountTakeoverRiskConfiguration(Consumer<AccountTakeoverRiskConfigurationType.Builder> accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with threat protection.accountTakeoverRiskConfiguration(AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with threat protection.The app client where this configuration is applied.default RiskConfigurationType.BuildercompromisedCredentialsRiskConfiguration(Consumer<CompromisedCredentialsRiskConfigurationType.Builder> compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.compromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.lastModifiedDate(Instant lastModifiedDate) The date and time when the item was modified.default RiskConfigurationType.BuilderriskExceptionConfiguration(Consumer<RiskExceptionConfigurationType.Builder> riskExceptionConfiguration) Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.riskExceptionConfiguration(RiskExceptionConfigurationType riskExceptionConfiguration) Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.userPoolId(String userPoolId) The ID of the user pool that has the risk configuration applied.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
userPoolId
The ID of the user pool that has the risk configuration applied.
- Parameters:
userPoolId- The ID of the user pool that has the risk configuration applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
The app client where this configuration is applied. When this parameter isn't present, the risk configuration applies to all user pool app clients that don't have client-level settings.
- Parameters:
clientId- The app client where this configuration is applied. When this parameter isn't present, the risk configuration applies to all user pool app clients that don't have client-level settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compromisedCredentialsRiskConfiguration
RiskConfigurationType.Builder compromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-function
ENFORCEDmode.- Parameters:
compromisedCredentialsRiskConfiguration- Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compromisedCredentialsRiskConfiguration
default RiskConfigurationType.Builder compromisedCredentialsRiskConfiguration(Consumer<CompromisedCredentialsRiskConfigurationType.Builder> compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-function
This is a convenience method that creates an instance of theENFORCEDmode.CompromisedCredentialsRiskConfigurationType.Builderavoiding the need to create one manually viaCompromisedCredentialsRiskConfigurationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType).- Parameters:
compromisedCredentialsRiskConfiguration- a consumer that will call methods onCompromisedCredentialsRiskConfigurationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountTakeoverRiskConfiguration
RiskConfigurationType.Builder accountTakeoverRiskConfiguration(AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with threat protection.
- Parameters:
accountTakeoverRiskConfiguration- The settings for automated responses and notification templates for adaptive authentication with threat protection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountTakeoverRiskConfiguration
default RiskConfigurationType.Builder accountTakeoverRiskConfiguration(Consumer<AccountTakeoverRiskConfigurationType.Builder> accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with threat protection.
This is a convenience method that creates an instance of theAccountTakeoverRiskConfigurationType.Builderavoiding the need to create one manually viaAccountTakeoverRiskConfigurationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountTakeoverRiskConfiguration(AccountTakeoverRiskConfigurationType).- Parameters:
accountTakeoverRiskConfiguration- a consumer that will call methods onAccountTakeoverRiskConfigurationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
riskExceptionConfiguration
RiskConfigurationType.Builder riskExceptionConfiguration(RiskExceptionConfigurationType riskExceptionConfiguration) Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.
- Parameters:
riskExceptionConfiguration- Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskExceptionConfiguration
default RiskConfigurationType.Builder riskExceptionConfiguration(Consumer<RiskExceptionConfigurationType.Builder> riskExceptionConfiguration) Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.
This is a convenience method that creates an instance of theRiskExceptionConfigurationType.Builderavoiding the need to create one manually viaRiskExceptionConfigurationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toriskExceptionConfiguration(RiskExceptionConfigurationType).- Parameters:
riskExceptionConfiguration- a consumer that will call methods onRiskExceptionConfigurationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedDate
The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Dateobject.- Parameters:
lastModifiedDate- The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a JavaDateobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-