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