Interface Theme.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Theme.Builder,Theme>,SdkBuilder<Theme.Builder,Theme>,SdkPojo
- Enclosing class:
- Theme
public static interface Theme.Builder extends SdkPojo, CopyableBuilder<Theme.Builder,Theme>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Theme.BuilderappId(String appId)The unique ID for the Amplify app associated with the theme.Theme.BuildercreatedAt(Instant createdAt)The time that the theme was created.Theme.BuilderenvironmentName(String environmentName)The name of the backend environment that is a part of the Amplify app.Theme.Builderid(String id)The ID for the theme.Theme.BuildermodifiedAt(Instant modifiedAt)The time that the theme was modified.Theme.Buildername(String name)The name of the theme.Theme.Builderoverrides(Collection<ThemeValues> overrides)Describes the properties that can be overriden to customize a theme.Theme.Builderoverrides(Consumer<ThemeValues.Builder>... overrides)Describes the properties that can be overriden to customize a theme.Theme.Builderoverrides(ThemeValues... overrides)Describes the properties that can be overriden to customize a theme.Theme.Buildertags(Map<String,String> tags)One or more key-value pairs to use when tagging the theme.Theme.Buildervalues(Collection<ThemeValues> values)A list of key-value pairs that defines the properties of the theme.Theme.Buildervalues(Consumer<ThemeValues.Builder>... values)A list of key-value pairs that defines the properties of the theme.Theme.Buildervalues(ThemeValues... values)A list of key-value pairs that defines the properties of the theme.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
appId
Theme.Builder appId(String 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
Theme.Builder environmentName(String 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
Theme.Builder id(String id)
The ID for the theme.
- Parameters:
id- The ID for the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Theme.Builder name(String name)
The name of the theme.
- Parameters:
name- The name of the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Theme.Builder createdAt(Instant createdAt)
The time that the theme was created.
- Parameters:
createdAt- The time that the theme was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
Theme.Builder modifiedAt(Instant modifiedAt)
The time that the theme was modified.
- Parameters:
modifiedAt- The time that the theme was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Theme.Builder values(Collection<ThemeValues> 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Theme.Builder values(ThemeValues... 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Theme.Builder values(Consumer<ThemeValues.Builder>... values)
A list of key-value pairs that defines the properties of the theme.
This is a convenience method that creates an instance of theThemeValues.Builderavoiding the need to create one manually viaThemeValues.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#values(List.) - Parameters:
values- a consumer that will call methods onThemeValues.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#values(java.util.Collection)
-
overrides
Theme.Builder overrides(Collection<ThemeValues> 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
Theme.Builder overrides(ThemeValues... 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
Theme.Builder overrides(Consumer<ThemeValues.Builder>... overrides)
Describes the properties that can be overriden to customize a theme.
This is a convenience method that creates an instance of theThemeValues.Builderavoiding the need to create one manually viaThemeValues.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#overrides(List.) - Parameters:
overrides- a consumer that will call methods onThemeValues.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#overrides(java.util.Collection)
-
tags
Theme.Builder tags(Map<String,String> 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-