public static interface Theme.Builder extends SdkPojo, CopyableBuilder<Theme.Builder,Theme>
| Modifier and Type | Method and Description |
|---|---|
Theme.Builder |
appId(String appId)
The unique ID for the Amplify app associated with the theme.
|
Theme.Builder |
createdAt(Instant createdAt)
The time that the theme was created.
|
Theme.Builder |
environmentName(String environmentName)
The name of the backend environment that is a part of the Amplify app.
|
Theme.Builder |
id(String id)
The ID for the theme.
|
Theme.Builder |
modifiedAt(Instant modifiedAt)
The time that the theme was modified.
|
Theme.Builder |
name(String name)
The name of the theme.
|
Theme.Builder |
overrides(Collection<ThemeValues> overrides)
Describes the properties that can be overriden to customize a theme.
|
Theme.Builder |
overrides(Consumer<ThemeValues.Builder>... overrides)
Describes the properties that can be overriden to customize a theme.
|
Theme.Builder |
overrides(ThemeValues... overrides)
Describes the properties that can be overriden to customize a theme.
|
Theme.Builder |
tags(Map<String,String> tags)
One or more key-value pairs to use when tagging the theme.
|
Theme.Builder |
values(Collection<ThemeValues> values)
A list of key-value pairs that defines the properties of the theme.
|
Theme.Builder |
values(Consumer<ThemeValues.Builder>... values)
A list of key-value pairs that defines the properties of the theme.
|
Theme.Builder |
values(ThemeValues... values)
A list of key-value pairs that defines the properties of the theme.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTheme.Builder appId(String appId)
The unique ID for the Amplify app associated with the theme.
appId - The unique ID for the Amplify app associated with the theme.Theme.Builder createdAt(Instant createdAt)
The time that the theme was created.
createdAt - The time that the theme was created.Theme.Builder environmentName(String environmentName)
The name of the backend environment that is a part of the Amplify app.
environmentName - The name of the backend environment that is a part of the Amplify app.Theme.Builder id(String id)
The ID for the theme.
id - The ID for the theme.Theme.Builder modifiedAt(Instant modifiedAt)
The time that the theme was modified.
modifiedAt - The time that the theme was modified.Theme.Builder name(String name)
The name of the theme.
name - The name of the theme.Theme.Builder overrides(Collection<ThemeValues> overrides)
Describes the properties that can be overriden to customize a theme.
overrides - Describes the properties that can be overriden to customize a theme.Theme.Builder overrides(ThemeValues... overrides)
Describes the properties that can be overriden to customize a theme.
overrides - Describes the properties that can be overriden to customize a theme.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.Builder avoiding the need to
create one manually via ThemeValues.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #overrides(List.
overrides - a consumer that will call methods on
ThemeValues.Builder#overrides(java.util.Collection) Theme.Builder tags(Map<String,String> tags)
One or more key-value pairs to use when tagging the theme.
tags - One or more key-value pairs to use when tagging the theme.Theme.Builder values(Collection<ThemeValues> values)
A list of key-value pairs that defines the properties of the theme.
values - A list of key-value pairs that defines the properties of the theme.Theme.Builder values(ThemeValues... values)
A list of key-value pairs that defines the properties of the theme.
values - A list of key-value pairs that defines the properties of the theme.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.Builder avoiding the need to
create one manually via ThemeValues.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #values(List.
values - a consumer that will call methods on
ThemeValues.Builder#values(java.util.Collection) Copyright © 2022. All rights reserved.