Class AssetType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssetType.Builder,AssetType>
An image file from a managed login branding style in a user pool.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AssetType.Builderbuilder()final SdkBytesbytes()The image file, in Base64-encoded binary.final AssetCategoryTypecategory()The category that the image corresponds to in your managed login configuration.final StringThe category that the image corresponds to in your managed login configuration.final ColorSchemeModeTypeThe display-mode target of the asset: light, dark, or browser-adaptive.final StringThe display-mode target of the asset: light, dark, or browser-adaptive.final booleanfinal booleanequalsBySdkFields(Object obj) final AssetExtensionTypeThe file type of the image file.final StringThe file type of the image file.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the asset.static Class<? extends AssetType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.
If the service returns an enum value that is not available in the current SDK version,
categorywill returnAssetCategoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcategoryAsString().- Returns:
- 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.
- See Also:
-
categoryAsString
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.
If the service returns an enum value that is not available in the current SDK version,
categorywill returnAssetCategoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcategoryAsString().- Returns:
- 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.
- See Also:
-
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.
If the service returns an enum value that is not available in the current SDK version,
colorModewill returnColorSchemeModeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorModeAsString().- Returns:
- 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.
- See Also:
-
colorModeAsString
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.
If the service returns an enum value that is not available in the current SDK version,
colorModewill returnColorSchemeModeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorModeAsString().- Returns:
- 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.
- See Also:
-
extension
The file type of the image file.
If the service returns an enum value that is not available in the current SDK version,
extensionwill returnAssetExtensionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromextensionAsString().- Returns:
- The file type of the image file.
- See Also:
-
extensionAsString
The file type of the image file.
If the service returns an enum value that is not available in the current SDK version,
extensionwill returnAssetExtensionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromextensionAsString().- Returns:
- The file type of the image file.
- See Also:
-
bytes
The image file, in Base64-encoded binary.
- Returns:
- The image file, in Base64-encoded binary.
-
resourceId
The ID of the asset.
- Returns:
- The ID of the asset.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssetType.Builder,AssetType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-