Interface AssetType.Builder

    • Method Detail

      • category

        AssetType.Builder category​(String category)

        The category that the image corresponds to in your managed login configuration. Managed login has asset categories for different types of logos, backgrounds, and icons.

        Parameters:
        category - The category that the image corresponds to in your managed login configuration. Managed login has asset categories for different types of logos, backgrounds, and icons.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssetCategoryType, AssetCategoryType
      • category

        AssetType.Builder category​(AssetCategoryType category)

        The category that the image corresponds to in your managed login configuration. Managed login has asset categories for different types of logos, backgrounds, and icons.

        Parameters:
        category - The category that the image corresponds to in your managed login configuration. Managed login has asset categories for different types of logos, backgrounds, and icons.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssetCategoryType, AssetCategoryType
      • colorMode

        AssetType.Builder colorMode​(String colorMode)

        The display-mode target of the asset: light, dark, or browser-adaptive. For example, Amazon Cognito displays a dark-mode image only when the browser or application is in dark mode, but displays a browser-adaptive file in all contexts.

        Parameters:
        colorMode - The display-mode target of the asset: light, dark, or browser-adaptive. For example, Amazon Cognito displays a dark-mode image only when the browser or application is in dark mode, but displays a browser-adaptive file in all contexts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ColorSchemeModeType, ColorSchemeModeType
      • colorMode

        AssetType.Builder colorMode​(ColorSchemeModeType colorMode)

        The display-mode target of the asset: light, dark, or browser-adaptive. For example, Amazon Cognito displays a dark-mode image only when the browser or application is in dark mode, but displays a browser-adaptive file in all contexts.

        Parameters:
        colorMode - The display-mode target of the asset: light, dark, or browser-adaptive. For example, Amazon Cognito displays a dark-mode image only when the browser or application is in dark mode, but displays a browser-adaptive file in all contexts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ColorSchemeModeType, ColorSchemeModeType
      • bytes

        AssetType.Builder bytes​(SdkBytes bytes)

        The image file, in Base64-encoded binary.

        Parameters:
        bytes - The image file, in Base64-encoded binary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceId

        AssetType.Builder resourceId​(String resourceId)

        The ID of the asset.

        Parameters:
        resourceId - The ID of the asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.