Class CfnUserSettings.BrandingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnUserSettings.BrandingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserSettings.BrandingConfigurationProperty>
- Enclosing interface:
CfnUserSettings.BrandingConfigurationProperty
@Stability(Stable)
public static final class CfnUserSettings.BrandingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserSettings.BrandingConfigurationProperty>
A builder for
CfnUserSettings.BrandingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.colorTheme(String colorTheme) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getColorTheme()Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getFavicon()faviconMetadata(IResolvable faviconMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getFaviconMetadata()faviconMetadata(CfnUserSettings.ImageMetadataProperty faviconMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getFaviconMetadata()localizedStrings(Map<String, ? extends Object> localizedStrings) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLocalizedStrings()localizedStrings(IResolvable localizedStrings) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLocalizedStrings()Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLogo()logoMetadata(IResolvable logoMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLogoMetadata()logoMetadata(CfnUserSettings.ImageMetadataProperty logoMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLogoMetadata()termsOfService(String termsOfService) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getTermsOfService()Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getWallpaper()wallpaperMetadata(IResolvable wallpaperMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getWallpaperMetadata()wallpaperMetadata(CfnUserSettings.ImageMetadataProperty wallpaperMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getWallpaperMetadata()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
colorTheme
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder colorTheme(String colorTheme) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getColorTheme()- Parameters:
colorTheme- The color theme for components on the web portal. ChooseLightif you upload a dark wallpaper, orDarkfor a light wallpaper.- Returns:
this
-
favicon
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder favicon(String favicon) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getFavicon()- Parameters:
favicon- The favicon image for the portal. Provide either a binary image file or an S3 URI pointing to the image file. Maximum 100 KB in JPEG, PNG, or ICO format.- Returns:
this
-
faviconMetadata
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder faviconMetadata(IResolvable faviconMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getFaviconMetadata()- Parameters:
faviconMetadata- Read-only. Metadata for the favicon image file, including the MIME type, file extension, and upload timestamp. This property is automatically populated by the service and cannot be specified in your template. It can be retrieved using theFn::GetAttintrinsic function.- Returns:
this
-
faviconMetadata
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder faviconMetadata(CfnUserSettings.ImageMetadataProperty faviconMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getFaviconMetadata()- Parameters:
faviconMetadata- Read-only. Metadata for the favicon image file, including the MIME type, file extension, and upload timestamp. This property is automatically populated by the service and cannot be specified in your template. It can be retrieved using theFn::GetAttintrinsic function.- Returns:
this
-
localizedStrings
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder localizedStrings(IResolvable localizedStrings) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLocalizedStrings()- Parameters:
localizedStrings- A map of localized text strings for different languages, allowing the portal to display content in the user's preferred language.- Returns:
this
-
localizedStrings
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder localizedStrings(Map<String, ? extends Object> localizedStrings) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLocalizedStrings()- Parameters:
localizedStrings- A map of localized text strings for different languages, allowing the portal to display content in the user's preferred language.- Returns:
this
-
logo
Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLogo()- Parameters:
logo- The logo image for the portal. Provide either a binary image file or an S3 URI pointing to the image file. Maximum 100 KB in JPEG, PNG, or ICO format.- Returns:
this
-
logoMetadata
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder logoMetadata(IResolvable logoMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLogoMetadata()- Parameters:
logoMetadata- Read-only. Metadata for the logo image file, including the MIME type, file extension, and upload timestamp. This property is automatically populated by the service and cannot be specified in your template. It can be retrieved using theFn::GetAttintrinsic function.- Returns:
this
-
logoMetadata
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder logoMetadata(CfnUserSettings.ImageMetadataProperty logoMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getLogoMetadata()- Parameters:
logoMetadata- Read-only. Metadata for the logo image file, including the MIME type, file extension, and upload timestamp. This property is automatically populated by the service and cannot be specified in your template. It can be retrieved using theFn::GetAttintrinsic function.- Returns:
this
-
termsOfService
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder termsOfService(String termsOfService) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getTermsOfService()- Parameters:
termsOfService- The terms of service text in Markdown format that users must accept before accessing the portal.- Returns:
this
-
wallpaper
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder wallpaper(String wallpaper) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getWallpaper()- Parameters:
wallpaper- The wallpaper image for the portal. Provide either a binary image file or an S3 URI pointing to the image file. Maximum 5 MB in JPEG or PNG format.- Returns:
this
-
wallpaperMetadata
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder wallpaperMetadata(IResolvable wallpaperMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getWallpaperMetadata()- Parameters:
wallpaperMetadata- Read-only. Metadata for the wallpaper image file, including the MIME type, file extension, and upload timestamp. This property is automatically populated by the service and cannot be specified in your template. It can be retrieved using theFn::GetAttintrinsic function.- Returns:
this
-
wallpaperMetadata
@Stability(Stable) public CfnUserSettings.BrandingConfigurationProperty.Builder wallpaperMetadata(CfnUserSettings.ImageMetadataProperty wallpaperMetadata) Sets the value ofCfnUserSettings.BrandingConfigurationProperty.getWallpaperMetadata()- Parameters:
wallpaperMetadata- Read-only. Metadata for the wallpaper image file, including the MIME type, file extension, and upload timestamp. This property is automatically populated by the service and cannot be specified in your template. It can be retrieved using theFn::GetAttintrinsic function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserSettings.BrandingConfigurationProperty>- Returns:
- a new instance of
CfnUserSettings.BrandingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-