Interface CreateManagedLoginBrandingRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<CreateManagedLoginBrandingRequest.Builder,CreateManagedLoginBrandingRequest>,SdkBuilder<CreateManagedLoginBrandingRequest.Builder,CreateManagedLoginBrandingRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateManagedLoginBrandingRequest
public static interface CreateManagedLoginBrandingRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<CreateManagedLoginBrandingRequest.Builder,CreateManagedLoginBrandingRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateManagedLoginBrandingRequest.Builderassets(Collection<AssetType> assets)An array of image files that you want to apply to roles like backgrounds, logos, and icons.CreateManagedLoginBrandingRequest.Builderassets(Consumer<AssetType.Builder>... assets)An array of image files that you want to apply to roles like backgrounds, logos, and icons.CreateManagedLoginBrandingRequest.Builderassets(AssetType... assets)An array of image files that you want to apply to roles like backgrounds, logos, and icons.CreateManagedLoginBrandingRequest.BuilderclientId(String clientId)The app client that you want to create the branding style for.CreateManagedLoginBrandingRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateManagedLoginBrandingRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateManagedLoginBrandingRequest.Buildersettings(Document settings)A JSON file, encoded as aDocumenttype, with the the settings that you want to apply to your style.CreateManagedLoginBrandingRequest.BuilderuseCognitoProvidedValues(Boolean useCognitoProvidedValues)When true, applies the default branding style options.CreateManagedLoginBrandingRequest.BuilderuserPoolId(String userPoolId)The ID of the user pool where you want to create a new branding style.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
-
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
-
userPoolId
CreateManagedLoginBrandingRequest.Builder userPoolId(String userPoolId)
The ID of the user pool where you want to create a new branding style.
- Parameters:
userPoolId- The ID of the user pool where you want to create a new branding style.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
CreateManagedLoginBrandingRequest.Builder clientId(String clientId)
The app client that you want to create the branding style for. Each style is permanently linked to an app client. To change the style for an app client, delete the existing style with DeleteManagedLoginBranding and create a new one.
- Parameters:
clientId- The app client that you want to create the branding style for. Each style is permanently linked to an app client. To change the style for an app client, delete the existing style with DeleteManagedLoginBranding and create a new one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useCognitoProvidedValues
CreateManagedLoginBrandingRequest.Builder useCognitoProvidedValues(Boolean useCognitoProvidedValues)
When true, applies the default branding style options. These default options 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. These default options 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
CreateManagedLoginBrandingRequest.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
CreateManagedLoginBrandingRequest.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
CreateManagedLoginBrandingRequest.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
CreateManagedLoginBrandingRequest.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)
-
overrideConfiguration
CreateManagedLoginBrandingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateManagedLoginBrandingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-