Class CfnAccountCustomizationProps.Builder
java.lang.Object
software.amazon.awscdk.services.uxc.CfnAccountCustomizationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccountCustomizationProps>
- Enclosing interface:
CfnAccountCustomizationProps
@Stability(Stable)
public static final class CfnAccountCustomizationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccountCustomizationProps>
A builder for
CfnAccountCustomizationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountColor(String accountColor) Sets the value ofCfnAccountCustomizationProps.getAccountColor()build()Builds the configured instance.visibleRegions(List<String> visibleRegions) Sets the value ofCfnAccountCustomizationProps.getVisibleRegions()visibleServices(List<String> visibleServices) Sets the value ofCfnAccountCustomizationProps.getVisibleServices()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountColor
Sets the value ofCfnAccountCustomizationProps.getAccountColor()- Parameters:
accountColor- The color theme assigned to the account for visual identification in the AWS Console.- Returns:
this
-
visibleRegions
@Stability(Stable) public CfnAccountCustomizationProps.Builder visibleRegions(List<String> visibleRegions) Sets the value ofCfnAccountCustomizationProps.getVisibleRegions()- Parameters:
visibleRegions- A list of AWS region identifiers visible to the account in the AWS Console.- Returns:
this
-
visibleServices
@Stability(Stable) public CfnAccountCustomizationProps.Builder visibleServices(List<String> visibleServices) Sets the value ofCfnAccountCustomizationProps.getVisibleServices()- Parameters:
visibleServices- A list of AWS service identifiers visible to the account in the AWS Console.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccountCustomizationProps>- Returns:
- a new instance of
CfnAccountCustomizationProps - Throws:
NullPointerException- if any required attribute was not provided
-