Interface UpdateSamlProviderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSamlProviderRequest.Builder,,UpdateSamlProviderRequest> IamRequest.Builder,SdkBuilder<UpdateSamlProviderRequest.Builder,,UpdateSamlProviderRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSamlProviderRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddPrivateKey(String addPrivateKey) Specifies the new private key from your external identity provider.assertionEncryptionMode(String assertionEncryptionMode) Specifies the encryption setting for the SAML provider.assertionEncryptionMode(AssertionEncryptionModeType assertionEncryptionMode) Specifies the encryption setting for the SAML provider.contextProvider(Consumer<ContextProvider.Builder> contextProvider) The trusted identity propagation context provider configuration to associate with the SAML provider.contextProvider(ContextProvider contextProvider) The trusted identity propagation context provider configuration to associate with the SAML provider.identityCenterInstanceArn(String identityCenterInstanceArn) The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with the SAML provider.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeContextProvider(Boolean removeContextProvider) Specifies whether to remove the existing trusted identity propagation context provider configuration from the SAML provider.removeIdentityCenterInstance(Boolean removeIdentityCenterInstance) Specifies whether to disassociate the IAM Identity Center instance from the SAML provider.removePrivateKey(String removePrivateKey) The Key ID of the private key to remove.samlMetadataDocument(String samlMetadataDocument) An XML document generated by an identity provider (IdP) that supports SAML 2.0.samlProviderArn(String samlProviderArn) The Amazon Resource Name (ARN) of the SAML provider to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
samlMetadataDocument
An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your IdP.
- Parameters:
samlMetadataDocument- An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your IdP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samlProviderArn
The Amazon Resource Name (ARN) of the SAML provider to update.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Parameters:
samlProviderArn- The Amazon Resource Name (ARN) of the SAML provider to update.For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assertionEncryptionMode
Specifies the encryption setting for the SAML provider.
- Parameters:
assertionEncryptionMode- Specifies the encryption setting for the SAML provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assertionEncryptionMode
UpdateSamlProviderRequest.Builder assertionEncryptionMode(AssertionEncryptionModeType assertionEncryptionMode) Specifies the encryption setting for the SAML provider.
- Parameters:
assertionEncryptionMode- Specifies the encryption setting for the SAML provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addPrivateKey
Specifies the new private key from your external identity provider. The private key must be a .pem file that uses AES-GCM or AES-CBC encryption algorithm to decrypt SAML assertions.
- Parameters:
addPrivateKey- Specifies the new private key from your external identity provider. The private key must be a .pem file that uses AES-GCM or AES-CBC encryption algorithm to decrypt SAML assertions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removePrivateKey
The Key ID of the private key to remove.
- Parameters:
removePrivateKey- The Key ID of the private key to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextProvider
The trusted identity propagation context provider configuration to associate with the SAML provider. This replaces the existing context provider configuration. For more information, see ContextProvider.
- Parameters:
contextProvider- The trusted identity propagation context provider configuration to associate with the SAML provider. This replaces the existing context provider configuration. For more information, see ContextProvider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextProvider
default UpdateSamlProviderRequest.Builder contextProvider(Consumer<ContextProvider.Builder> contextProvider) The trusted identity propagation context provider configuration to associate with the SAML provider. This replaces the existing context provider configuration. For more information, see ContextProvider.
This is a convenience method that creates an instance of theContextProvider.Builderavoiding the need to create one manually viaContextProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontextProvider(ContextProvider).- Parameters:
contextProvider- a consumer that will call methods onContextProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityCenterInstanceArn
The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with the SAML provider.
For the format, see InstanceMetadata in the IAM Identity Center API Reference.
- Parameters:
identityCenterInstanceArn- The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with the SAML provider.For the format, see InstanceMetadata in the IAM Identity Center API Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeContextProvider
Specifies whether to remove the existing trusted identity propagation context provider configuration from the SAML provider. When set to
true, the context provider is removed. This parameter is mutually exclusive withContextProvider.- Parameters:
removeContextProvider- Specifies whether to remove the existing trusted identity propagation context provider configuration from the SAML provider. When set totrue, the context provider is removed. This parameter is mutually exclusive withContextProvider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeIdentityCenterInstance
UpdateSamlProviderRequest.Builder removeIdentityCenterInstance(Boolean removeIdentityCenterInstance) Specifies whether to disassociate the IAM Identity Center instance from the SAML provider. When set to
true, the instance is disassociated. This parameter is mutually exclusive withIdentityCenterInstanceArn.- Parameters:
removeIdentityCenterInstance- Specifies whether to disassociate the IAM Identity Center instance from the SAML provider. When set totrue, the instance is disassociated. This parameter is mutually exclusive withIdentityCenterInstanceArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateSamlProviderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSamlProviderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-