Interface ManagedLoginBrandingType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedLoginBrandingType.Builder,ManagedLoginBrandingType>,SdkBuilder<ManagedLoginBrandingType.Builder,ManagedLoginBrandingType>,SdkPojo
- Enclosing class:
- ManagedLoginBrandingType
public static interface ManagedLoginBrandingType.Builder extends SdkPojo, CopyableBuilder<ManagedLoginBrandingType.Builder,ManagedLoginBrandingType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedLoginBrandingType.Builderassets(Collection<AssetType> assets)An array of image files that you want to apply to roles like backgrounds, logos, and icons.ManagedLoginBrandingType.Builderassets(Consumer<AssetType.Builder>... assets)An array of image files that you want to apply to roles like backgrounds, logos, and icons.ManagedLoginBrandingType.Builderassets(AssetType... assets)An array of image files that you want to apply to roles like backgrounds, logos, and icons.ManagedLoginBrandingType.BuildercreationDate(Instant creationDate)The date and time when the item was created.ManagedLoginBrandingType.BuilderlastModifiedDate(Instant lastModifiedDate)The date and time when the item was modified.ManagedLoginBrandingType.BuildermanagedLoginBrandingId(String managedLoginBrandingId)The ID of the managed login branding style.ManagedLoginBrandingType.Buildersettings(Document settings)A JSON file, encoded as aDocumenttype, with the the settings that you want to apply to your style.ManagedLoginBrandingType.BuilderuseCognitoProvidedValues(Boolean useCognitoProvidedValues)When true, applies the default branding style options.ManagedLoginBrandingType.BuilderuserPoolId(String userPoolId)The user pool where the branding style is assigned.-
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
-
managedLoginBrandingId
ManagedLoginBrandingType.Builder managedLoginBrandingId(String managedLoginBrandingId)
The ID of the managed login branding style.
- Parameters:
managedLoginBrandingId- The ID of the managed login branding style.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolId
ManagedLoginBrandingType.Builder userPoolId(String userPoolId)
The user pool where the branding style is assigned.
- Parameters:
userPoolId- The user pool where the branding style is assigned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useCognitoProvidedValues
ManagedLoginBrandingType.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 designer.
When you specify
truefor this option, you must also omit values forSettingsandAssetsin 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 designer.When you specify
truefor this option, you must also omit values forSettingsandAssetsin the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
ManagedLoginBrandingType.Builder settings(Document settings)
A JSON file, encoded as a
Documenttype, with the the settings that you want to apply to your style.- Parameters:
settings- A JSON file, encoded as aDocumenttype, with the the settings that you want to apply to your style.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
ManagedLoginBrandingType.Builder assets(Collection<AssetType> 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
ManagedLoginBrandingType.Builder assets(AssetType... 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
ManagedLoginBrandingType.Builder assets(Consumer<AssetType.Builder>... 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 theAssetType.Builderavoiding the need to create one manually viaAssetType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assets(List.) - Parameters:
assets- a consumer that will call methods onAssetType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#assets(java.util.Collection)
-
creationDate
ManagedLoginBrandingType.Builder creationDate(Instant creationDate)
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Dateobject.- Parameters:
creationDate- The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a JavaDateobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
ManagedLoginBrandingType.Builder lastModifiedDate(Instant lastModifiedDate)
The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Dateobject.- Parameters:
lastModifiedDate- The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a JavaDateobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-