@Generated(value="software.amazon.awssdk:codegen") public final class SetRiskConfigurationRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<SetRiskConfigurationRequest.Builder,SetRiskConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetRiskConfigurationRequest.Builder |
overrideConfigurationcopypublic String userPoolId()
The user pool ID.
public String clientId()
The app client ID. If ClientId is null, then the risk configuration is mapped to
userPoolId. When the client ID is null, the same risk configuration is applied to all the clients in
the userPool.
Otherwise, ClientId is mapped to the client. When the client ID is not null, the user pool
configuration is overridden and the risk configuration for the client is used instead.
ClientId is null, then the risk configuration is mapped to
userPoolId. When the client ID is null, the same risk configuration is applied to all the
clients in the userPool.
Otherwise, ClientId is mapped to the client. When the client ID is not null, the user pool
configuration is overridden and the risk configuration for the client is used instead.
public CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration()
The compromised credentials risk configuration.
public AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration()
The account takeover risk configuration.
public RiskExceptionConfigurationType riskExceptionConfiguration()
The configuration to override the risk decision.
public SetRiskConfigurationRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<SetRiskConfigurationRequest.Builder,SetRiskConfigurationRequest>toBuilder in class CognitoIdentityProviderRequestpublic static SetRiskConfigurationRequest.Builder builder()
public static Class<? extends SetRiskConfigurationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.