Interface Theme.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Theme.Builder,
,Theme> SdkBuilder<Theme.Builder,
,Theme> SdkPojo
- Enclosing class:
Theme
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the theme.createdTime
(Instant createdTime) The date and time that the theme was created.lastUpdatedTime
(Instant lastUpdatedTime) The date and time that the theme was last updated.The name that the user gives to the theme.The identifier that the user gives to the theme.The type of theme, based on how it was created.The type of theme, based on how it was created.default Theme.Builder
version
(Consumer<ThemeVersion.Builder> version) Sets the value of the Version property for this object.version
(ThemeVersion version) Sets the value of the Version property for this object.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, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the theme.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name that the user gives to the theme.
- Parameters:
name
- The name that the user gives to the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
themeId
The identifier that the user gives to the theme.
- Parameters:
themeId
- The identifier that the user gives to the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Sets the value of the Version property for this object.- Parameters:
version
- The new value for the Version property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Sets the value of the Version property for this object. This is a convenience method that creates an instance of theThemeVersion.Builder
avoiding the need to create one manually viaThemeVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toversion(ThemeVersion)
.- Parameters:
version
- a consumer that will call methods onThemeVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The date and time that the theme was created.
- Parameters:
createdTime
- The date and time that the theme was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The date and time that the theme was last updated.
- Parameters:
lastUpdatedTime
- The date and time that the theme was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of theme, based on how it was created. Valid values include:
QUICKSIGHT
andCUSTOM
.- Parameters:
type
- The type of theme, based on how it was created. Valid values include:QUICKSIGHT
andCUSTOM
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of theme, based on how it was created. Valid values include:
QUICKSIGHT
andCUSTOM
.- Parameters:
type
- The type of theme, based on how it was created. Valid values include:QUICKSIGHT
andCUSTOM
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-