Interface Theme.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Theme.Builder,,Theme> SdkBuilder<Theme.Builder,,Theme> SdkPojo
- Enclosing class:
Theme
@Mutable
@NotThreadSafe
public static interface Theme.Builder
extends SdkPojo, CopyableBuilder<Theme.Builder,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.Builderversion(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaThemeVersion.builder().When the
Consumercompletes,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:
QUICKSIGHTandCUSTOM.- Parameters:
type- The type of theme, based on how it was created. Valid values include:QUICKSIGHTandCUSTOM.- 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:
QUICKSIGHTandCUSTOM.- Parameters:
type- The type of theme, based on how it was created. Valid values include:QUICKSIGHTandCUSTOM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-