Class ThemeReference.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.ThemeReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ThemeReference>
- Enclosing interface:
ThemeReference
@Stability(Stable)
public static final class ThemeReference.Builder
extends Object
implements software.amazon.jsii.Builder<ThemeReference>
A builder for
ThemeReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofThemeReference.getAppId()
build()
Builds the configured instance.environmentName
(String environmentName) Sets the value ofThemeReference.getEnvironmentName()
Sets the value ofThemeReference.getThemeId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appId
Sets the value ofThemeReference.getAppId()
- Parameters:
appId
- The AppId of the Theme resource. This parameter is required.- Returns:
this
-
environmentName
Sets the value ofThemeReference.getEnvironmentName()
- Parameters:
environmentName
- The EnvironmentName of the Theme resource. This parameter is required.- Returns:
this
-
themeId
Sets the value ofThemeReference.getThemeId()
- Parameters:
themeId
- The Id of the Theme resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ThemeReference>
- Returns:
- a new instance of
ThemeReference
- Throws:
NullPointerException
- if any required attribute was not provided
-