Interface Theme.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Theme.Builder,Theme>,SdkBuilder<Theme.Builder,Theme>,SdkPojo
- Enclosing class:
- Theme
public static interface Theme.Builder extends SdkPojo, CopyableBuilder<Theme.Builder,Theme>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Theme.Builderarn(String arn)The Amazon Resource Name (ARN) of the theme.Theme.BuildercreatedTime(Instant createdTime)The date and time that the theme was created.Theme.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time that the theme was last updated.Theme.Buildername(String name)The name that the user gives to the theme.Theme.BuilderthemeId(String themeId)The identifier that the user gives to the theme.Theme.Buildertype(String type)The type of theme, based on how it was created.Theme.Buildertype(ThemeType type)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.Theme.Builderversion(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 Detail
-
arn
Theme.Builder arn(String 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
Theme.Builder name(String 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
Theme.Builder themeId(String 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
Theme.Builder version(ThemeVersion 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
default Theme.Builder version(Consumer<ThemeVersion.Builder> 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:
version(ThemeVersion)
-
createdTime
Theme.Builder createdTime(Instant 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
Theme.Builder lastUpdatedTime(Instant 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
Theme.Builder type(String type)
The type of theme, based on how it was created. Valid values include:
QUICKSIGHTandCUSTOM.
-
type
Theme.Builder type(ThemeType type)
The type of theme, based on how it was created. Valid values include:
QUICKSIGHTandCUSTOM.
-
-