Interface UpdateSecurityConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSecurityConfigRequest.Builder,
,UpdateSecurityConfigRequest> OpenSearchServerlessRequest.Builder
,SdkBuilder<UpdateSecurityConfigRequest.Builder,
,UpdateSecurityConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSecurityConfigRequest
public static interface UpdateSecurityConfigRequest.Builder
extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<UpdateSecurityConfigRequest.Builder,UpdateSecurityConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier to ensure idempotency of the request.configVersion
(String configVersion) The version of the security configuration to be updated.description
(String description) A description of the security configuration.The security configuration identifier.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.samlOptions
(Consumer<SamlConfigOptions.Builder> samlOptions) SAML options in in the form of a key-value map.samlOptions
(SamlConfigOptions samlOptions) SAML options in in the form of a key-value map.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessRequest.Builder
build
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
-
clientToken
Unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken
- Unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configVersion
The version of the security configuration to be updated. You can find the most recent version of a security configuration using the
GetSecurityPolicy
command.- Parameters:
configVersion
- The version of the security configuration to be updated. You can find the most recent version of a security configuration using theGetSecurityPolicy
command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the security configuration.
- Parameters:
description
- A description of the security configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The security configuration identifier. For SAML the ID will be
saml/<accountId>/<idpProviderName>
. For example,saml/123456789123/OKTADev
.- Parameters:
id
- The security configuration identifier. For SAML the ID will besaml/<accountId>/<idpProviderName>
. For example,saml/123456789123/OKTADev
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samlOptions
SAML options in in the form of a key-value map.
- Parameters:
samlOptions
- SAML options in in the form of a key-value map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samlOptions
default UpdateSecurityConfigRequest.Builder samlOptions(Consumer<SamlConfigOptions.Builder> samlOptions) SAML options in in the form of a key-value map.
This is a convenience method that creates an instance of theSamlConfigOptions.Builder
avoiding the need to create one manually viaSamlConfigOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosamlOptions(SamlConfigOptions)
.- Parameters:
samlOptions
- a consumer that will call methods onSamlConfigOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSecurityConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSecurityConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-