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