Interface RiskConfigurationType.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RiskConfigurationType.Builder,
,RiskConfigurationType> SdkBuilder<RiskConfigurationType.Builder,
,RiskConfigurationType> SdkPojo
- Enclosing class:
RiskConfigurationType
-
Method Summary
Modifier and TypeMethodDescriptiondefault RiskConfigurationType.Builder
accountTakeoverRiskConfiguration
(Consumer<AccountTakeoverRiskConfigurationType.Builder> accountTakeoverRiskConfiguration) The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover.accountTakeoverRiskConfiguration
(AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration) The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover.The app client ID.default RiskConfigurationType.Builder
compromisedCredentialsRiskConfiguration
(Consumer<CompromisedCredentialsRiskConfigurationType.Builder> compromisedCredentialsRiskConfiguration) The compromised credentials risk configuration object, including theEventFilter
and theEventAction
.compromisedCredentialsRiskConfiguration
(CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration) The compromised credentials risk configuration object, including theEventFilter
and theEventAction
.lastModifiedDate
(Instant lastModifiedDate) The date and time when the item was modified.default RiskConfigurationType.Builder
riskExceptionConfiguration
(Consumer<RiskExceptionConfigurationType.Builder> riskExceptionConfiguration) The configuration to override the risk decision.riskExceptionConfiguration
(RiskExceptionConfigurationType riskExceptionConfiguration) The configuration to override the risk decision.userPoolId
(String userPoolId) The user pool ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
userPoolId
The user pool ID.
- Parameters:
userPoolId
- The user pool ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
The app client ID.
- Parameters:
clientId
- The app client ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compromisedCredentialsRiskConfiguration
RiskConfigurationType.Builder compromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration) The compromised credentials risk configuration object, including the
EventFilter
and theEventAction
.- Parameters:
compromisedCredentialsRiskConfiguration
- The compromised credentials risk configuration object, including theEventFilter
and theEventAction
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compromisedCredentialsRiskConfiguration
default RiskConfigurationType.Builder compromisedCredentialsRiskConfiguration(Consumer<CompromisedCredentialsRiskConfigurationType.Builder> compromisedCredentialsRiskConfiguration) The compromised credentials risk configuration object, including the
This is a convenience method that creates an instance of theEventFilter
and theEventAction
.CompromisedCredentialsRiskConfigurationType.Builder
avoiding the need to create one manually viaCompromisedCredentialsRiskConfigurationType.builder()
.When the
Consumer
completes,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 account takeover risk configuration object, including the
NotifyConfiguration
object andActions
to take if there is an account takeover.- Parameters:
accountTakeoverRiskConfiguration
- The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover.- 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 account takeover risk configuration object, including the
This is a convenience method that creates an instance of theNotifyConfiguration
object andActions
to take if there is an account takeover.AccountTakeoverRiskConfigurationType.Builder
avoiding the need to create one manually viaAccountTakeoverRiskConfigurationType.builder()
.When the
Consumer
completes,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) The configuration to override the risk decision.
- Parameters:
riskExceptionConfiguration
- The configuration to override the risk decision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskExceptionConfiguration
default RiskConfigurationType.Builder riskExceptionConfiguration(Consumer<RiskExceptionConfigurationType.Builder> riskExceptionConfiguration) The configuration to override the risk decision.
This is a convenience method that creates an instance of theRiskExceptionConfigurationType.Builder
avoiding the need to create one manually viaRiskExceptionConfigurationType.builder()
.When the
Consumer
completes,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
Date
object.- 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 JavaDate
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-