Interface UpdateManagedLoginBrandingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<UpdateManagedLoginBrandingRequest.Builder,,UpdateManagedLoginBrandingRequest> SdkBuilder<UpdateManagedLoginBrandingRequest.Builder,,UpdateManagedLoginBrandingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateManagedLoginBrandingRequest
-
Method Summary
Modifier and TypeMethodDescriptionassets(Collection<AssetType> assets) An array of image files that you want to apply to roles like backgrounds, logos, and icons.assets(Consumer<AssetType.Builder>... assets) An array of image files that you want to apply to roles like backgrounds, logos, and icons.An array of image files that you want to apply to roles like backgrounds, logos, and icons.managedLoginBrandingId(String managedLoginBrandingId) The ID of the managed login branding style that you want to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A JSON file, encoded as aDocumenttype, with the the settings that you want to apply to your style.useCognitoProvidedValues(Boolean useCognitoProvidedValues) Whentrue, applies the default branding style options.userPoolId(String userPoolId) The ID of the user pool that contains the managed login branding style that you want to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
truefor this option, you must also omit values forSettingsandAssetsin the request.- Parameters:
useCognitoProvidedValues- Whentrue, 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
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
A JSON file, encoded as a
Documenttype, with the the settings that you want to apply to your style.The following components are not currently implemented and reserved for future use:
-
signUp -
instructions -
sessionTimerDisplay -
languageSelector(for localization, see Managed login localization)
- Parameters:
settings- A JSON file, encoded as aDocumenttype, with the the settings that you want to apply to your style.The following components are not currently implemented and reserved for future use:
-
signUp -
instructions -
sessionTimerDisplay -
languageSelector(for localization, see Managed login localization)
-
- 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 theAssetType.Builderavoiding the need to create one manually viaAssetType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassets(List<AssetType>).- 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:
-
overrideConfiguration
UpdateManagedLoginBrandingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateManagedLoginBrandingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-