Interface CognitoOptionsStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CognitoOptionsStatus.Builder,
,CognitoOptionsStatus> SdkBuilder<CognitoOptionsStatus.Builder,
,CognitoOptionsStatus> SdkPojo
- Enclosing class:
CognitoOptionsStatus
public static interface CognitoOptionsStatus.Builder
extends SdkPojo, CopyableBuilder<CognitoOptionsStatus.Builder,CognitoOptionsStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CognitoOptionsStatus.Builder
options
(Consumer<CognitoOptions.Builder> options) Cognito options for the specified domain.options
(CognitoOptions options) Cognito options for the specified domain.default CognitoOptionsStatus.Builder
status
(Consumer<OptionStatus.Builder> status) The status of the Cognito options for the specified domain.status
(OptionStatus status) The status of the Cognito options for the specified domain.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, sdkFields
-
Method Details
-
options
Cognito options for the specified domain.
- Parameters:
options
- Cognito options for the specified domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Cognito options for the specified domain.
This is a convenience method that creates an instance of theCognitoOptions.Builder
avoiding the need to create one manually viaCognitoOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(CognitoOptions)
.- Parameters:
options
- a consumer that will call methods onCognitoOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the Cognito options for the specified domain.
- Parameters:
status
- The status of the Cognito options for the specified domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the Cognito options for the specified domain.
This is a convenience method that creates an instance of theOptionStatus.Builder
avoiding the need to create one manually viaOptionStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(OptionStatus)
.- Parameters:
status
- a consumer that will call methods onOptionStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-