Interface ThemeValues.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ThemeValues.Builder,,ThemeValues> SdkBuilder<ThemeValues.Builder,,ThemeValues> SdkPojo
- Enclosing class:
ThemeValues
public static interface ThemeValues.Builder
extends SdkPojo, CopyableBuilder<ThemeValues.Builder,ThemeValues>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the property.default ThemeValues.Buildervalue(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaThemeValue.builder().When the
Consumercompletes,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:
-