Interface ThemeValues.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ThemeValues.Builder,
,ThemeValues> SdkBuilder<ThemeValues.Builder,
,ThemeValues> SdkPojo
- Enclosing class:
ThemeValues
@Mutable
@NotThreadSafe
public static interface ThemeValues.Builder
extends SdkPojo, CopyableBuilder<ThemeValues.Builder,ThemeValues>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the property.default ThemeValues.Builder
value
(Consumer<ThemeValue.Builder> value) The value of the property.value
(ThemeValue value) The value of the 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
-
key
The name of the property.
- Parameters:
key
- The name of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of the property.
- Parameters:
value
- The value of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of the property.
This is a convenience method that creates an instance of theThemeValue.Builder
avoiding the need to create one manually viaThemeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(ThemeValue)
.- Parameters:
value
- a consumer that will call methods onThemeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-