Interface UpdateSamlProviderRequest.Builder

  • Method Details

    • samlMetadataDocument

      UpdateSamlProviderRequest.Builder samlMetadataDocument(String 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

      UpdateSamlProviderRequest.Builder samlProviderArn(String 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

      UpdateSamlProviderRequest.Builder assertionEncryptionMode(String 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

      UpdateSamlProviderRequest.Builder addPrivateKey(String 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

      UpdateSamlProviderRequest.Builder removePrivateKey(String 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

      UpdateSamlProviderRequest.Builder contextProvider(ContextProvider 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 the ContextProvider.Builder avoiding the need to create one manually via ContextProvider.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to contextProvider(ContextProvider).

      Parameters:
      contextProvider - a consumer that will call methods on ContextProvider.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • identityCenterInstanceArn

      UpdateSamlProviderRequest.Builder identityCenterInstanceArn(String 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

      UpdateSamlProviderRequest.Builder removeContextProvider(Boolean 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 with ContextProvider.

      Parameters:
      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 with ContextProvider.
      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 with IdentityCenterInstanceArn.

      Parameters:
      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 with IdentityCenterInstanceArn.
      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.