Class CfnTheme.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnTheme.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTheme>
- Enclosing class:
CfnTheme
@Stability(Stable)
public static final class CfnTheme.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTheme>
A fluent builder for
CfnTheme
.-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID for the Amplify app associated with the theme.build()
static CfnTheme.Builder
environmentName
(String environmentName) The name of the backend environment that is a part of the Amplify app.The name of the theme.Describes the properties that can be overriden to customize a theme.overrides
(IResolvable overrides) Describes the properties that can be overriden to customize a theme.One or more key-value pairs to use when tagging the theme.A list of key-value pairs that defines the properties of the theme.values
(IResolvable values) A list of key-value pairs that defines the properties of the theme.
-
Method Details
-
create
@Stability(Stable) public static CfnTheme.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTheme.Builder
.
-
appId
The unique ID for the Amplify app associated with the theme.- Parameters:
appId
- The unique ID for the Amplify app associated with the theme. This parameter is required.- Returns:
this
- See Also:
-
environmentName
The name of the backend environment that is a part of the Amplify app.- Parameters:
environmentName
- The name of the backend environment that is a part of the Amplify app. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the theme.- Parameters:
name
- The name of the theme. This parameter is required.- Returns:
this
- See Also:
-
overrides
Describes the properties that can be overriden to customize a theme.- Parameters:
overrides
- Describes the properties that can be overriden to customize a theme. This parameter is required.- Returns:
this
- See Also:
-
overrides
Describes the properties that can be overriden to customize a theme.- Parameters:
overrides
- Describes the properties that can be overriden to customize a theme. This parameter is required.- Returns:
this
- See Also:
-
tags
One or more key-value pairs to use when tagging the theme.- Parameters:
tags
- One or more key-value pairs to use when tagging the theme. This parameter is required.- Returns:
this
- See Also:
-
values
A list of key-value pairs that defines the properties of the theme.- Parameters:
values
- A list of key-value pairs that defines the properties of the theme. This parameter is required.- Returns:
this
- See Also:
-
values
A list of key-value pairs that defines the properties of the theme.- Parameters:
values
- A list of key-value pairs that defines the properties of the theme. This parameter is required.- Returns:
this
- See Also:
-
build
-