Interface ThemeValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ThemeValue.Builder,
,ThemeValue> SdkBuilder<ThemeValue.Builder,
,ThemeValue> SdkPojo
- Enclosing class:
ThemeValue
@Mutable
@NotThreadSafe
public static interface ThemeValue.Builder
extends SdkPojo, CopyableBuilder<ThemeValue.Builder,ThemeValue>
-
Method Summary
Modifier and TypeMethodDescriptionchildren
(Collection<ThemeValues> children) A list of key-value pairs that define the theme's properties.children
(Consumer<ThemeValues.Builder>... children) A list of key-value pairs that define the theme's properties.children
(ThemeValues... children) A list of key-value pairs that define the theme's properties.The value of a theme property.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 Details
-
value
The value of a theme property.
- Parameters:
value
- The value of a theme property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
A list of key-value pairs that define the theme's properties.
- Parameters:
children
- A list of key-value pairs that define the theme's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
A list of key-value pairs that define the theme's properties.
- Parameters:
children
- A list of key-value pairs that define the theme's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
A list of key-value pairs that define the theme's properties.
This is a convenience method that creates an instance of theThemeValues.Builder
avoiding the need to create one manually viaThemeValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochildren(List<ThemeValues>)
.- Parameters:
children
- 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:
-