Class CfnThemeProps.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnThemeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThemeProps>
- Enclosing interface:
CfnThemeProps
@Stability(Stable)
public static final class CfnThemeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThemeProps>
A builder for
CfnThemeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnThemeProps.getAppId()
build()
Builds the configured instance.environmentName
(String environmentName) Sets the value ofCfnThemeProps.getEnvironmentName()
Sets the value ofCfnThemeProps.getName()
Sets the value ofCfnThemeProps.getOverrides()
overrides
(IResolvable overrides) Sets the value ofCfnThemeProps.getOverrides()
Sets the value ofCfnThemeProps.getTags()
Sets the value ofCfnThemeProps.getValues()
values
(IResolvable values) Sets the value ofCfnThemeProps.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appId
Sets the value ofCfnThemeProps.getAppId()
- Parameters:
appId
- The unique ID for the Amplify app associated with the theme.- Returns:
this
-
environmentName
Sets the value ofCfnThemeProps.getEnvironmentName()
- Parameters:
environmentName
- The name of the backend environment that is a part of the Amplify app.- Returns:
this
-
name
Sets the value ofCfnThemeProps.getName()
- Parameters:
name
- The name of the theme.- Returns:
this
-
overrides
Sets the value ofCfnThemeProps.getOverrides()
- Parameters:
overrides
- Describes the properties that can be overriden to customize a theme.- Returns:
this
-
overrides
Sets the value ofCfnThemeProps.getOverrides()
- Parameters:
overrides
- Describes the properties that can be overriden to customize a theme.- Returns:
this
-
tags
Sets the value ofCfnThemeProps.getTags()
- Parameters:
tags
- One or more key-value pairs to use when tagging the theme.- Returns:
this
-
values
Sets the value ofCfnThemeProps.getValues()
- Parameters:
values
- A list of key-value pairs that defines the properties of the theme.- Returns:
this
-
values
Sets the value ofCfnThemeProps.getValues()
- Parameters:
values
- A list of key-value pairs that defines the properties of the theme.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThemeProps>
- Returns:
- a new instance of
CfnThemeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-