Interface ThemeVersion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ThemeVersion.Builder,ThemeVersion>,SdkBuilder<ThemeVersion.Builder,ThemeVersion>,SdkPojo
- Enclosing class:
- ThemeVersion
@Mutable @NotThreadSafe public static interface ThemeVersion.Builder extends SdkPojo, CopyableBuilder<ThemeVersion.Builder,ThemeVersion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ThemeVersion.Builderarn(String arn)The Amazon Resource Name (ARN) of the resource.ThemeVersion.BuilderbaseThemeId(String baseThemeId)The Amazon QuickSight-defined ID of the theme that a custom theme inherits from.default ThemeVersion.Builderconfiguration(Consumer<ThemeConfiguration.Builder> configuration)The theme configuration, which contains all the theme display properties.ThemeVersion.Builderconfiguration(ThemeConfiguration configuration)The theme configuration, which contains all the theme display properties.ThemeVersion.BuildercreatedTime(Instant createdTime)The date and time that this theme version was created.ThemeVersion.Builderdescription(String description)The description of the theme.ThemeVersion.Buildererrors(Collection<ThemeError> errors)Errors associated with the theme.ThemeVersion.Buildererrors(Consumer<ThemeError.Builder>... errors)Errors associated with the theme.ThemeVersion.Buildererrors(ThemeError... errors)Errors associated with the theme.ThemeVersion.Builderstatus(String status)The status of the theme version.ThemeVersion.Builderstatus(ResourceStatus status)The status of the theme version.ThemeVersion.BuilderversionNumber(Long versionNumber)The version number of the theme.-
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 Detail
-
versionNumber
ThemeVersion.Builder versionNumber(Long versionNumber)
The version number of the theme.
- Parameters:
versionNumber- The version number of the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
ThemeVersion.Builder arn(String arn)
The Amazon Resource Name (ARN) of the resource.
- Parameters:
arn- The Amazon Resource Name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ThemeVersion.Builder description(String description)
The description of the theme.
- Parameters:
description- The description of the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseThemeId
ThemeVersion.Builder baseThemeId(String baseThemeId)
The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All themes initially inherit from a default QuickSight theme.
- Parameters:
baseThemeId- The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All themes initially inherit from a default QuickSight theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
ThemeVersion.Builder createdTime(Instant createdTime)
The date and time that this theme version was created.
- Parameters:
createdTime- The date and time that this theme version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
ThemeVersion.Builder configuration(ThemeConfiguration configuration)
The theme configuration, which contains all the theme display properties.
- Parameters:
configuration- The theme configuration, which contains all the theme display properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default ThemeVersion.Builder configuration(Consumer<ThemeConfiguration.Builder> configuration)
The theme configuration, which contains all the theme display properties.
This is a convenience method that creates an instance of theThemeConfiguration.Builderavoiding the need to create one manually viaThemeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ThemeConfiguration).- Parameters:
configuration- a consumer that will call methods onThemeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(ThemeConfiguration)
-
errors
ThemeVersion.Builder errors(Collection<ThemeError> errors)
Errors associated with the theme.
- Parameters:
errors- Errors associated with the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
ThemeVersion.Builder errors(ThemeError... errors)
Errors associated with the theme.
- Parameters:
errors- Errors associated with the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
ThemeVersion.Builder errors(Consumer<ThemeError.Builder>... errors)
Errors associated with the theme.
This is a convenience method that creates an instance of theThemeError.Builderavoiding the need to create one manually viaThemeError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - Parameters:
errors- a consumer that will call methods onThemeError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
status
ThemeVersion.Builder status(String status)
The status of the theme version.
- Parameters:
status- The status of the theme version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus,ResourceStatus
-
status
ThemeVersion.Builder status(ResourceStatus status)
The status of the theme version.
- Parameters:
status- The status of the theme version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus,ResourceStatus
-
-