Interface UpdateManagedLoginBrandingRequest.Builder

  • Method Details

    • userPoolId

      The ID of the user pool that contains the managed login branding style that you want to update.

      Parameters:
      userPoolId - The ID of the user pool that contains the managed login branding style that you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • managedLoginBrandingId

      UpdateManagedLoginBrandingRequest.Builder managedLoginBrandingId(String managedLoginBrandingId)

      The ID of the managed login branding style that you want to update.

      Parameters:
      managedLoginBrandingId - The ID of the managed login branding style that you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • useCognitoProvidedValues

      UpdateManagedLoginBrandingRequest.Builder useCognitoProvidedValues(Boolean useCognitoProvidedValues)

      When true, applies the default branding style options. This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding editor.

      When you specify true for this option, you must also omit values for Settings and Assets in the request.

      Parameters:
      useCognitoProvidedValues - When true, applies the default branding style options. This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding editor.

      When you specify true for this option, you must also omit values for Settings and Assets in the request.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • settings

      A JSON file, encoded as a Document type, with the the settings that you want to apply to your style.

      The following components are not currently implemented and reserved for future use:

      Parameters:
      settings - A JSON file, encoded as a Document type, with the the settings that you want to apply to your style.

      The following components are not currently implemented and reserved for future use:

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assets

      An array of image files that you want to apply to roles like backgrounds, logos, and icons. Each object must also indicate whether it is for dark mode, light mode, or browser-adaptive mode.

      Parameters:
      assets - An array of image files that you want to apply to roles like backgrounds, logos, and icons. Each object must also indicate whether it is for dark mode, light mode, or browser-adaptive mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assets

      An array of image files that you want to apply to roles like backgrounds, logos, and icons. Each object must also indicate whether it is for dark mode, light mode, or browser-adaptive mode.

      Parameters:
      assets - An array of image files that you want to apply to roles like backgrounds, logos, and icons. Each object must also indicate whether it is for dark mode, light mode, or browser-adaptive mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assets

      An array of image files that you want to apply to roles like backgrounds, logos, and icons. Each object must also indicate whether it is for dark mode, light mode, or browser-adaptive mode.

      This is a convenience method that creates an instance of the AssetType.Builder avoiding the need to create one manually via AssetType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assets(List<AssetType>).

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

      UpdateManagedLoginBrandingRequest.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.