Interface SetRiskConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<SetRiskConfigurationRequest.Builder,SetRiskConfigurationRequest>,SdkBuilder<SetRiskConfigurationRequest.Builder,SetRiskConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SetRiskConfigurationRequest
@Mutable @NotThreadSafe public static interface SetRiskConfigurationRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<SetRiskConfigurationRequest.Builder,SetRiskConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SetRiskConfigurationRequest.BuilderaccountTakeoverRiskConfiguration(Consumer<AccountTakeoverRiskConfigurationType.Builder> accountTakeoverRiskConfiguration)The settings for automated responses and notification templates for adaptive authentication with threat protection.SetRiskConfigurationRequest.BuilderaccountTakeoverRiskConfiguration(AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration)The settings for automated responses and notification templates for adaptive authentication with threat protection.SetRiskConfigurationRequest.BuilderclientId(String clientId)The ID of the app client where you want to set a risk configuration.default SetRiskConfigurationRequest.BuildercompromisedCredentialsRiskConfiguration(Consumer<CompromisedCredentialsRiskConfigurationType.Builder> compromisedCredentialsRiskConfiguration)The configuration of automated reactions to detected compromised credentials.SetRiskConfigurationRequest.BuildercompromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration)The configuration of automated reactions to detected compromised credentials.SetRiskConfigurationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetRiskConfigurationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default SetRiskConfigurationRequest.BuilderriskExceptionConfiguration(Consumer<RiskExceptionConfigurationType.Builder> riskExceptionConfiguration)A set of IP-address overrides to threat protection.SetRiskConfigurationRequest.BuilderriskExceptionConfiguration(RiskExceptionConfigurationType riskExceptionConfiguration)A set of IP-address overrides to threat protection.SetRiskConfigurationRequest.BuilderuserPoolId(String userPoolId)The ID of the user pool where you want to set a risk configuration.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
userPoolId
SetRiskConfigurationRequest.Builder userPoolId(String userPoolId)
The ID of the user pool where you want to set a risk configuration. If you include
UserPoolIdin your request, don't includeClientId. When the client ID is null, the same risk configuration is applied to all the clients in the userPool. When you include bothClientIdandUserPoolId, Amazon Cognito maps the configuration to the app client only.- Parameters:
userPoolId- The ID of the user pool where you want to set a risk configuration. If you includeUserPoolIdin your request, don't includeClientId. When the client ID is null, the same risk configuration is applied to all the clients in the userPool. When you include bothClientIdandUserPoolId, Amazon Cognito maps the configuration to the app client only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
SetRiskConfigurationRequest.Builder clientId(String clientId)
The ID of the app client where you want to set a risk configuration. If
ClientIdis null, then the risk configuration is mapped toUserPoolId. When the client ID is null, the same risk configuration is applied to all the clients in the userPool.When you include a
ClientIdparameter, Amazon Cognito maps the configuration to the app client. When you include bothClientIdandUserPoolId, Amazon Cognito maps the configuration to the app client only.- Parameters:
clientId- The ID of the app client where you want to set a risk configuration. IfClientIdis null, then the risk configuration is mapped toUserPoolId. When the client ID is null, the same risk configuration is applied to all the clients in the userPool.When you include a
ClientIdparameter, Amazon Cognito maps the configuration to the app client. When you include bothClientIdandUserPoolId, Amazon Cognito maps the configuration to the app client only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compromisedCredentialsRiskConfiguration
SetRiskConfigurationRequest.Builder compromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration)
The configuration of automated reactions to detected compromised credentials. Includes settings for blocking future sign-in requests and for the types of password-submission events you want to monitor.
- Parameters:
compromisedCredentialsRiskConfiguration- The configuration of automated reactions to detected compromised credentials. Includes settings for blocking future sign-in requests and for the types of password-submission events you want to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compromisedCredentialsRiskConfiguration
default SetRiskConfigurationRequest.Builder compromisedCredentialsRiskConfiguration(Consumer<CompromisedCredentialsRiskConfigurationType.Builder> compromisedCredentialsRiskConfiguration)
The configuration of automated reactions to detected compromised credentials. Includes settings for blocking future sign-in requests and for the types of password-submission events you want to monitor.
This is a convenience method that creates an instance of theCompromisedCredentialsRiskConfigurationType.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:
compromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType)
-
accountTakeoverRiskConfiguration
SetRiskConfigurationRequest.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 SetRiskConfigurationRequest.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:
accountTakeoverRiskConfiguration(AccountTakeoverRiskConfigurationType)
-
riskExceptionConfiguration
SetRiskConfigurationRequest.Builder riskExceptionConfiguration(RiskExceptionConfigurationType riskExceptionConfiguration)
A set of IP-address overrides to threat protection. You can set up IP-address always-block and always-allow lists.
- Parameters:
riskExceptionConfiguration- A set of IP-address overrides to threat protection. You can set up IP-address always-block and always-allow lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskExceptionConfiguration
default SetRiskConfigurationRequest.Builder riskExceptionConfiguration(Consumer<RiskExceptionConfigurationType.Builder> riskExceptionConfiguration)
A set of IP-address overrides to threat protection. You can set up IP-address always-block and always-allow lists.
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:
riskExceptionConfiguration(RiskExceptionConfigurationType)
-
overrideConfiguration
SetRiskConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetRiskConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-