Interface ConsentPopupConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConsentPopupConfig.Builder,,ConsentPopupConfig> SdkBuilder<ConsentPopupConfig.Builder,,ConsentPopupConfig> SdkPojo
- Enclosing class:
ConsentPopupConfig
@Mutable
@NotThreadSafe
public static interface ConsentPopupConfig.Builder
extends SdkPojo, CopyableBuilder<ConsentPopupConfig.Builder,ConsentPopupConfig>
-
Method Summary
Modifier and TypeMethodDescriptioncloseButtonLabel(String closeButtonLabel) Label for the close button on the consent popup.Body content of the consent popup in Markdown format.Whether the consent popup is enabled.Header text displayed at the top of the consent popup.Methods 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
-
enabled
Whether the consent popup is enabled. When set to true, the popup is displayed to users on login.
- Parameters:
enabled- Whether the consent popup is enabled. When set to true, the popup is displayed to users on login.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
header
Header text displayed at the top of the consent popup. Maximum 100 characters.
- Parameters:
header- Header text displayed at the top of the consent popup. Maximum 100 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Body content of the consent popup in Markdown format. Maximum 5000 characters.
- Parameters:
content- Body content of the consent popup in Markdown format. Maximum 5000 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
closeButtonLabel
Label for the close button on the consent popup. Maximum 20 characters. Defaults to "Acknowledge" if not provided.
- Parameters:
closeButtonLabel- Label for the close button on the consent popup. Maximum 20 characters. Defaults to "Acknowledge" if not provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-