Class SetRiskConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.SetRiskConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<SetRiskConfigurationRequest.Builder,SetRiskConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class SetRiskConfigurationRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<SetRiskConfigurationRequest.Builder,SetRiskConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SetRiskConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountTakeoverRiskConfigurationType
accountTakeoverRiskConfiguration()
The account takeover risk configuration.static SetRiskConfigurationRequest.Builder
builder()
String
clientId()
The app client ID.CompromisedCredentialsRiskConfigurationType
compromisedCredentialsRiskConfiguration()
The compromised credentials risk configuration.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
RiskExceptionConfigurationType
riskExceptionConfiguration()
The configuration to override the risk decision.List<SdkField<?>>
sdkFields()
static Class<? extends SetRiskConfigurationRequest.Builder>
serializableBuilderClass()
SetRiskConfigurationRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
userPoolId()
The user pool ID.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
userPoolId
public final String userPoolId()
The user pool ID.
- Returns:
- The user pool ID.
-
clientId
public final String clientId()
The app client ID. If
ClientId
is 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.Otherwise,
ClientId
is mapped to the client. When the client ID isn't null, the user pool configuration is overridden and the risk configuration for the client is used instead.- Returns:
- The app client ID. If
ClientId
is 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.Otherwise,
ClientId
is mapped to the client. When the client ID isn't null, the user pool configuration is overridden and the risk configuration for the client is used instead.
-
compromisedCredentialsRiskConfiguration
public final CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration()
The compromised credentials risk configuration.
- Returns:
- The compromised credentials risk configuration.
-
accountTakeoverRiskConfiguration
public final AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration()
The account takeover risk configuration.
- Returns:
- The account takeover risk configuration.
-
riskExceptionConfiguration
public final RiskExceptionConfigurationType riskExceptionConfiguration()
The configuration to override the risk decision.
- Returns:
- The configuration to override the risk decision.
-
toBuilder
public SetRiskConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SetRiskConfigurationRequest.Builder,SetRiskConfigurationRequest>
- Specified by:
toBuilder
in classCognitoIdentityProviderRequest
-
builder
public static SetRiskConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SetRiskConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-