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.Builderoptions(Consumer<CognitoOptions.Builder> options) Specifies the Cognito options for the specified Elasticsearch domain.options(CognitoOptions options) Specifies the Cognito options for the specified Elasticsearch domain.default CognitoOptionsStatus.Builderstatus(Consumer<OptionStatus.Builder> status) Specifies the status of the Cognito options for the specified Elasticsearch domain.status(OptionStatus status) Specifies the status of the Cognito options for the specified Elasticsearch domain.Methods 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, sdkFields
-
Method Details
-
options
Specifies the Cognito options for the specified Elasticsearch domain.
- Parameters:
options- Specifies the Cognito options for the specified Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Specifies the Cognito options for the specified Elasticsearch domain.
This is a convenience method that creates an instance of theCognitoOptions.Builderavoiding the need to create one manually viaCognitoOptions.builder().When the
Consumercompletes,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
Specifies the status of the Cognito options for the specified Elasticsearch domain.
- Parameters:
status- Specifies the status of the Cognito options for the specified Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Specifies the status of the Cognito options for the specified Elasticsearch domain.
This is a convenience method that creates an instance of theOptionStatus.Builderavoiding the need to create one manually viaOptionStatus.builder().When the
Consumercompletes,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:
-