Class CfnTheme.ThemeValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnTheme.ThemeValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTheme.ThemeValueProperty>
- Enclosing interface:
CfnTheme.ThemeValueProperty
@Stability(Stable)
public static final class CfnTheme.ThemeValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTheme.ThemeValueProperty>
A builder for
CfnTheme.ThemeValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTheme.ThemeValueProperty.getChildren()
children
(IResolvable children) Sets the value ofCfnTheme.ThemeValueProperty.getChildren()
Sets the value ofCfnTheme.ThemeValueProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
children
Sets the value ofCfnTheme.ThemeValueProperty.getChildren()
- Parameters:
children
- A list of key-value pairs that define the theme's properties.- Returns:
this
-
children
@Stability(Stable) public CfnTheme.ThemeValueProperty.Builder children(List<? extends Object> children) Sets the value ofCfnTheme.ThemeValueProperty.getChildren()
- Parameters:
children
- A list of key-value pairs that define the theme's properties.- Returns:
this
-
value
Sets the value ofCfnTheme.ThemeValueProperty.getValue()
- Parameters:
value
- The value of a theme property.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTheme.ThemeValueProperty>
- Returns:
- a new instance of
CfnTheme.ThemeValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-