Interface AssetType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetType.Builder,AssetType>,SdkBuilder<AssetType.Builder,AssetType>,SdkPojo
- Enclosing class:
- AssetType
public static interface AssetType.Builder extends SdkPojo, CopyableBuilder<AssetType.Builder,AssetType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetType.Builderbytes(SdkBytes bytes)The image file, in Base64-encoded binary.AssetType.Buildercategory(String category)The category that the image corresponds to in your managed login configuration.AssetType.Buildercategory(AssetCategoryType category)The category that the image corresponds to in your managed login configuration.AssetType.BuildercolorMode(String colorMode)The display-mode target of the asset: light, dark, or browser-adaptive.AssetType.BuildercolorMode(ColorSchemeModeType colorMode)The display-mode target of the asset: light, dark, or browser-adaptive.AssetType.Builderextension(String extension)The file type of the image file.AssetType.Builderextension(AssetExtensionType extension)The file type of the image file.AssetType.BuilderresourceId(String resourceId)The ID of the asset.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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
-
extension
AssetType.Builder extension(String extension)
The file type of the image file.
- Parameters:
extension- The file type of the image file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssetExtensionType,AssetExtensionType
-
extension
AssetType.Builder extension(AssetExtensionType extension)
The file type of the image file.
- Parameters:
extension- The file type of the image file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssetExtensionType,AssetExtensionType
-
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.
-
-