Interface SetRiskConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<SetRiskConfigurationResponse.Builder,,SetRiskConfigurationResponse> SdkBuilder<SetRiskConfigurationResponse.Builder,,SetRiskConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SetRiskConfigurationResponse
@Mutable
@NotThreadSafe
public static interface SetRiskConfigurationResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<SetRiskConfigurationResponse.Builder,SetRiskConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionriskConfiguration(Consumer<RiskConfigurationType.Builder> riskConfiguration) The API response that contains the risk configuration that you set and the timestamp of the most recent change.riskConfiguration(RiskConfigurationType riskConfiguration) The API response that contains the risk configuration that you set and the timestamp of the most recent change.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
riskConfiguration
The API response that contains the risk configuration that you set and the timestamp of the most recent change.
- Parameters:
riskConfiguration- The API response that contains the risk configuration that you set and the timestamp of the most recent change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskConfiguration
default SetRiskConfigurationResponse.Builder riskConfiguration(Consumer<RiskConfigurationType.Builder> riskConfiguration) The API response that contains the risk configuration that you set and the timestamp of the most recent change.
This is a convenience method that creates an instance of theRiskConfigurationType.Builderavoiding the need to create one manually viaRiskConfigurationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toriskConfiguration(RiskConfigurationType).- Parameters:
riskConfiguration- a consumer that will call methods onRiskConfigurationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-