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, responseMetadata
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
Methods 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.Builder
avoiding the need to create one manually viaRiskConfigurationType.builder()
.When the
Consumer
completes,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:
-